TIB: Re: Easier way to do this?


[Prev][Next][Index][Thread]

TIB: Re: Easier way to do this?




If you mean that you don't have enough labels, the only thing you can do is
try printing the options to the screen and the using getkey and if/then
statements. It's not easier, but on the 82 you only have so many labels.

BTW: Question about the TI-82: I know you can use +ACI-Lbl 1+ACI- or +ACI-Lbl A+ACI-, but
can you use anything else for labels besides letters and numbers (Maybe all
those variables and stuff for the graph, table, lists, etc. because they are
all tokens after all?? I sold my 82 to get an 86 and was just wondering,
because this might solve your problem.

Back to what I mean ::

+AD4-Clrdraw
+AD4-text(0,0,+ACI-This line+ACI-)
+AD4-text(10,0,+ACI-blah+ACI-)
+AD4- and so on, then
+AD4-text(30,0,+ACI-What do you want to do?+ACI-)

text(40,0,+ACI-1-Do this+ACI-)
text(50,o,+ACI-2-Do that+ACI-)
0                                           +ADs- To store 0 into Ans
while Ans+AD0-0
getkey                                    +ADs-To store the number of the key
into Ans
end
if Ans+AD0-92                                +ADs-92 is the getkey code for the
number 1 key, I think...
then
ClrDraw
text(0,0,+ACI-Blablabla+ACI-)
text(10,0,+ACI-Blabla+ACI-)
and so on, then repeat the improvised menu I did before.
....
...
End
if Ans+AD0-93
then
ClrDraw
text(0,0,+ACI-Blablabla+ACI-)
....
....
....
End

then whenever you want to jump from one part of the story to another, you
use Goto and Lbl statements instead of writing text to the graph screen.
That way, you won't necessarily need labels for each screen of text.

Of course, this IS NOT an easier way to do it but it's the only way to do it
if you don't have enough labels, (I do hope that was your original problem,
if not tell me)

This way can become very complicated so I sugest to note the different parts
of your storie on paper.

+AD4-My question is, is there a simpler way to do this, so it will take up
+AD4-less memory? I'm already up to lbl K, and lots more to go :) Any help is
+AD4-appreciated
+AD4-
+AD4-
+AD4-Aaron O'Donnell
+AD4-odonnell+AEA-wvi.com
+AD4-http://www.wvi.com/+AH4-odonnell
+AD4-