zeynel1 wrote: ↑Mon 30 May 2022, 11:35
I'm using Richard Russell's SDLİDE, and pressing return on a long line deleted the first number on the second line.
No, it was interpreted as a line number (as an initial numeric value always is at the start of a line) and if the line number is zero it is not displayed.
If you make an edit which results in the first item on a line being a number, it will be interpreted as a line number. As this is often not what you want, you need to be careful when making edits that could have this result.
If you are splitting a line into two using the line continuation character, the trick is to type two backslashes (
\\) at the point where you want to split it, position the cursor (caret)
between them, and then press Enter. That will guarantee that nothing is lost or misinterpreted, because the first character on the new line will be a \.
This is not specific to SDLIDE, the
BBC BASIC for Windows editor behaves in exactly the same way (and has for more than twenty years)!