![]() |
Forum Index : Microcontroller and PC projects : Line is too long?
Author | Message | ||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9596 |
In CMM, MMBASIC reports that a certain line is too long, yet it executes just fine. I cannot edit past column 81, but the code still runs. LIST also shows the full line, but the editor will not. Why? NOT a criticism, just an observation. MMBASIC 4.3 on CG CMM. Smoke makes things work. When the smoke gets out, it stops! |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6271 |
The maximum length of a line is 255 characters but the Editor is limited to 80, the maximum width of the screen. If you edit outside the built-in editor, you can make your lines longer but this would make using the built-in editor troublesome so it is advisable to keep all lines within the 80 character limit. Jim VK7JH MMedit |
||||
shoebuckle Senior Member ![]() Joined: 21/01/2012 Location: AustraliaPosts: 189 |
You can still use the Editor to add to or change long lines. Move the cursor towards the end of the line and press enter to split the line. Characters after col 80 will move to the next line and you can edit them there. When you are finished, delete the Enter to rejoin the line. Simple. Cheers, Hugh |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9596 |
I split the line into two, so that it can be properly edited. :) Smoke makes things work. When the smoke gets out, it stops! |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |