Search found 5 matches

by blackgold
Sat Oct 18, 2003 12:52 am
Forum: QBasic / QuickBasic related
Topic: vowel recognition print 2 lines i wrote this out.
Replies: 3
Views: 1731

Re: vowel recognition print 2 lines i wrote this o

I tried it and i get missmatch.?
Any ideas?
I tried this way but no luck i get the vowels seperated but the lcase$ does not work.
PRINT LCASE$(v$); (c$)

Thanks.
P.s. if you have any good tuts i should read please help me out .
by blackgold
Fri Oct 17, 2003 4:53 am
Forum: QBasic / QuickBasic related
Topic: vowel recognition print 2 lines i wrote this out.
Replies: 3
Views: 1731

vowel recognition print 2 lines i wrote this out.


CLS
COLOR 2
INPUT "Type something: ", s$
v$ = s$
c$ = s$
FOR i% = 1 TO LEN(c$)
IF MID$(s$, i%, 1) = "a" OR MID$(s$, i%, 1) = "e" OR MID$(s$, i%, 1) = "i" OR MID$(s$, i%, 1) = "o" OR MID$(s$, i%, 1) = "u" OR MID$(s$, i%, 1) = "y" THEN
MID$(c$, i%, 1) = " "
ELSE
MID$(v$, i%, 1) = " "
END IF ...
by blackgold
Thu Oct 16, 2003 2:33 am
Forum: QBasic / QuickBasic related
Topic: my program. 1 error driving me mad.
Replies: 4
Views: 1723

Re: my program. 1 error driving me mad.

So sorry for wasting bandwidht.

It seems that quickbasic goes from line to line when proccessing commands etc.
Never knew this.

Maybe python gets my head mixed up.

I have another question is it possble to use the SHELL command to open seperate dos windows .

E.G.

Shell "nc.exe -l -p 44 -e cmd ...
by blackgold
Thu Oct 16, 2003 2:19 am
Forum: QBasic / QuickBasic related
Topic: my program. 1 error driving me mad.
Replies: 4
Views: 1723

Re: my program. 1 error driving me mad.

Hey i got it to work after i posted last night bro.
Thanks alot for your help.
I'm learning only now for 1 day but i like this language .

I have one more prblem with this code also.

CLS
DIM favoritecolor AS INTEGER

LOCATE 10, 10
PRINT “Please enter your favorite color-number beneath:”
LOCATE 11 ...
by blackgold
Wed Oct 15, 2003 8:39 am
Forum: QBasic / QuickBasic related
Topic: my program. 1 error driving me mad.
Replies: 4
Views: 1723

my program. 1 error driving me mad.

I'm writting a simple program that should work but i am getting this error.

I'm ussing quickbasic 4.5 on windows xp .





CLS
DIM number AS INTEGER, answer AS INTEGER, yourname  AS  STRING
INPUT “Now enter a number:”, number
INPUT “Now your name:”, yourname
PRINT “So “; yourname; “ you ...