On Sun, May 13, 2018, 12:51 PM Stephen Adolph <[email protected]> wrote:

> I am reminded of the one line basic program activity.  sometimes BASIC can
> be so compact.
>
> Here is a way to do a WHILE statement or and endless loop as part of a one
> line program
>
> FOR I=1 to2:?i:I=I-1:ifinkey$="a"theni=i+1:nextelsenext
>
>
You can also write FOR I =1 TO 2 STEP 0

Reply via email to