Posts: 35
Threads: 19
Joined: Mar 2003
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
-p
Posts: 3,368
Threads: 195
Joined: Jan 2003
if a$ = "red" then
color 12: print "This is red"
color 7: input "press enter to continue"; ent$
goto 1000
end if
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 35
Threads: 19
Joined: Mar 2003
lol i knew that already....just i forgot about it...duh!! hehe
thanks for reminding me anyway hehe :rotfl:
-p
Posts: 938
Threads: 104
Joined: Dec 2002
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.
ovaProgramming.
One night I had a dream where I was breaking balls. The next morning,
BALLSBREAKER was born.
Quote: Excellent. Now you can have things without paying for them.
BALLSBREAKER 2
~-_-Status Report-_-~
Engine: 94%
Graphics: 95%
Sound: 100%
A Severe Error has crippled BB2 for the time being... I have to figure it out, but until then you won't see much of it
.
-----------------------------
Posts: 35
Threads: 19
Joined: Mar 2003