Main
   Home
   About
   DiscussionBoard
Files
   About
   Submit
   Search
Downloads
   Action
   QB64
Links
   Link to us
QB45.org
[ Back to QB45 | FAQ | Search a message | Reply to this message | Back to messages ]

Raze on 12/06/15 - 10:51:41

So this is my code:
INPUT "What is your name"; A$
PRINT "Hello "; A$
PRINT "Hello "; A$
PRINT "Hello "; A$
PRINT "Hello "; A$
PRINT "Hello "; A$
INPUT "Had Enough"; B$
IF input "yes" then print "One more thing"

It says Name already in use on line 8. Help?

Jon on 12/09/15 - 22:26:05

Your line 8 should be:
IF B$ = "yes" then print "One more thing"

Raze on 12/11/15 - 09:54:11

Thanks! That nakes sense. Im akid, i just gussed it

Raze on 12/11/15 - 10:06:11

One more thing. How do you put a time delay between prints?

Raze on 12/11/15 - 10:17:40

One more thing. How do you put a time delay between prints?

Raze on 12/11/15 - 10:17:48

One more thing. How do you put a time delay between prints?

Mike on 12/11/15 - 17:54:01

Use the SLEEP command.
SLEEP
SLEEP 2

t-link.43 on 12/17/15 - 00:55:05

X$ = ""
DO
X$ = Inkey$
IF Len(X$) THEN
Exit Do
END IF
LOOP
If Ucase$(X$) = "Y" Then Print "Yes"
If Ucase$(X$) = "N" Then Print "No"

Reply to this message
Name:
Message:
Please enter this number:
No HTML allowed. You may use BB-code in your posting.
Members
Login
Register
QB45 Members
Member List