PicoMite serial Input


Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6546
Posted: 05:08am 06 Jan 2025      

The line will not be processed until there is an end-of-line.
Then anything up to the first comma (if present) will be assigned to x$
If there is no comma in the input, the full line becomes x$
Either LF or CR should work for end-of-line
Macs do strange things but it should be using one or the other .

Using a variable for the file number is unusual but it does seem to work for the console (#0)

Jim