Code:

A
If Ans<5
Then
*code here*
Goto BK
If Ans>5
Then
*code here*
Goto BK
"default case
*code here*
Lbl BK
End
That won't work. If A >=5, none of the statements will trigger.
Yeah... It is thinking that the If Ans>5 part is still a part of the first If Then statement, and will totally ignore it...
lol, pwn on me
All you'd have to do would be to add an "End" after each of the Goto's Rolling Eyes
Indeed, but then his method wouldn't really be that unique anymore. It's been done plenty of times with that + Ends before.
true, I have seen it. I don't think it is all that useful.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement