Re: PROGRAM HELP


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

Re: PROGRAM HELP



On Sat, 26 Oct 1996 11:32:35 -0500 Enrico Ng <enricong@THEPENTAGON.COM>
writes:
>I have not made my TI-Comp link yet so I typed the following program
>in
>to my calc.
>
>:ClLCD
>:Disp "Tennis, v1.2"
>:Disp ""
>::Pause =
>
>:0=FCHit
>:1=FCMov
>:9=FCx
>:9=FCX
>:1=FCY
>:.1=FCXs
>:1=FCYs
>:ClLCD
>:Lbl RET1
>:If Mov:Then
>:Outpt(8,1,"                     "
>:Outpt(8,x,"---"
> ^
>I GET AN ERROR HERE, AT THIS LINE


(I'm assuming you typed it in right and that you just substituted "=" for
the store key)


It doesn't seem like the "x" in that line's been defined yet in the
program, so that's probably what's screwing it up. Put a "1->x" somewhere
near the beginning of the program and see what happens. . .




>I also found this program
>
>:"SND"=FCSND
>:"SND"=FCS
>:" "=FCOLD
>:ClLCD
>:Outpt(3,2,"Chat CommunicaTIons")
>:Outpt(4,3,"by Ted Cannelongo")
> ^
>I GET AN ERROR HERE, AT THIS LINE


I can't see why. . . Try deleting the line and see what happens (I'm sure
Ted Cannelongo wouldn't appreciate that though :-).  You might have typed
it in wrong.


References: