[TIB] Re: TI-83 Basic stumper
[Prev][Next][Index][Thread]
[TIB] Re: TI-83 Basic stumper
> Here is an idea with the output command.
> first, just so you know, when you use the output command on
> split screen it starts at the top of the bottom half of the screen.
>
> also what about this
>
> If (player wants to pick up gold)
> Then
> randInt(10,100->G {number of gold pieces}
> disp" (space)" {this shifts all your earlier text
messages up
> disp" (space)" 2 lines leaving room for the output
command}
> Output(3,1,"You pick up the
> Output(4,1,G
> Output(4,5,"gold pieces
> end
>
Even better:
...
Disp "You pick up the"," gold pieces"
Output(4,1,G)
...
You have to be sure that there are at least two lines of
text already, but that shouldn't be a problem.
BTW, In your version Disp "" (without spaces) works too.
It'll only scroll, won't overwrite text you OUTPUTted, but
there shouldn't be any, anyway.
Rob v. Wijk
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
References: