[Coco] Basic09 question
George Ramsower
georgeramsower at gmail.com
Thu Mar 27 22:52:49 EDT 2008
I seem to remember(in my old memories) there was a way to use IF/THEN in a
way that would:
use GOSUB, line1,line2,line3.. etc. when comparing an input from the user.
For example:
input"Choices", answer
if answer = "whatever1" then gosub 1 \endif
if answer = "whatever2" then gosub 2 \endif
This is clunky.
The thing that is in my head is that there was a way to make it do it all in
one small segment instead of a whole buch of IF/THEN tests.
Does this make sense?
Thanks,
George
More information about the Coco
mailing list