This code runs fine after running it through the My Notes app to restore the line feeds. I hope there is a way that you can get the SPL editor to substitute and reinsert the line feed characters that are missing. I'm not sure if they are CHR$(10),CHR$(13) or both.
It would be much more efficient to be able to copy Forum code from Edge and paste it right into the SPL editor without all the lines being squished into one line.
Thanks
It is good to know that the syntax problems were not in my hardware or software.
SPL is a very cool program and amazingly fast.
The only thing that gets me down is gravity...