Re: TI-86 BASIC


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

Re: TI-86 BASIC



FOR:
for(variable,start,stop,step)
instructions...
end
(start, stop, and step can be constants or variables.  Step is optional and
if it isn't there it assumes 1 for the step)

WHILE:
while variable1>variable2
instructions...
end
(The variables can be constants)

Eli Allen
eallen@mail.bcpl.lib.md.us
I have it, I installed it, I deleted it
(obtaini, installi, deletti)

Stoops Ryan D wrote in message
<3.0.1.16.19971021122604.3c1f075e@mail.msoe.edu>...
>I can't seem to find my TI-86 manual and I was wondering what the syntax
>was for the FOR and WHILE commands in BASIC.  I know in C++ that it's:
>for(k==1;k>x;k+=1)
>{}
>or
>while (k<x)
>{}
>and then the commands follow it in brackets.  I'm pretty sure it's
>different in BASIC and I would appreciate it if someone could help me out.
>Thanks.


References: