Re: TIB: challenge


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

Re: TIB: challenge



Pretty simple, really.
 
:Repeat A
:GetKey->A
:End
 
This code works because 'Repeat' tests the condition *after* it performs the getkey.  That way, there's no need to initialize A.
 
--Dave <the_Regul8r@bigfoot.com>
 
----- Original Message -----
From: Miles Raymond
To: ti-basic@lists.ticalc.org
Sent: Saturday, June 19, 1999 3:11 AM
Subject: Re: TIB: challenge

How would you write an input command with getKet using Repeat?  I am very interested in finding out how...
 
For instance, rewrite (if you please) this using Repeat instead of While:
:0->A
:While A=0
:getKey->A
:End

Follow-Ups: References: