Qbasicnews.com

Full Version: simplicity
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is there an alternative to writing a line of commands in this way:
Code:
if a$ = "red" then color 12: print "This is red": color 7: input "press enter to continue"; ent$: goto 1000
it gets so annoying
if a$ = "red" then
color 12: print "This is red"
color 7: input "press enter to continue"; ent$
goto 1000
end if
lol i knew that already....just i forgot about it...duh!! hehe
thanks for reminding me anyway hehe :rotfl:
Placeborick:

Not that this pertains to the question that you asked whatsoever but you can have labels be other things rather than numbers ... instead of goto 1000 you could have goto beginning

when you use a name for a label you just have to put : after it and it will work. It is handy for organizing information like that.
i know :-p hehe