Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
simplicity
#1
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
Reply
#2
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.
Reply
#3
lol i knew that already....just i forgot about it...duh!! hehe
thanks for reminding me anyway hehe :rotfl:
-p
Reply
#4
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 Sad.
-----------------------------
Reply
#5
i know :-p hehe
-p
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)