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 On Sun, May 13, 2018 at 12:02 PM, John R. Hogerhuis <[email protected]> wrote: > > On Sun, May 13, 2018 at 7:08 AM Stephen Adolph <[email protected]> > wrote: > >> I found this interesting bit of code. >> here E=chr$(27). >> >> 10 PRINTE"pFile to Convert "E"q"; >> >> I didn't know that basic automatically concatenates strings like this. I >> would have written this >> >> 10 PRINT E+"p"+"File to Convert"+E+"q"; >> > Huh! I don’t remember ever seeing that, and I’ve typed in a lot of MS > BASIC programs. > > — John. >
