CLS - Incorrect documentation
Posted: Sun Mar 23, 2025 2:39 pm
Hi all,
The other day I wanted to use CLS with a parameter to clear a part of the screen, but could not remember which one of 1,2,3,4 was needed. I could, of course, experiment with the parameter numbers to find the one I wanted but doing that would be time consuming. Instead, I decided to look up the documentation.
http://superbasic-manual.readthedocs.io/en/latest/
Finding the info wanted was easy enough, but then I noticed some inaccuracy in the notes.
Can someone do the necessary and correct this, please?
EmmBee
The other day I wanted to use CLS with a parameter to clear a part of the screen, but could not remember which one of 1,2,3,4 was needed. I could, of course, experiment with the parameter numbers to find the one I wanted but doing that would be time consuming. Instead, I decided to look up the documentation.
http://superbasic-manual.readthedocs.io/en/latest/
Finding the info wanted was easy enough, but then I noticed some inaccuracy in the notes.
The above is incorrect for the values 1,2,3 & 4. The cursor does in fact remain in the same place.After using this command, the text cursor is placed at the top left-hand corner of the window (if cls_type=0) or at the start of the next line below the cursor position for other values.
Can someone do the necessary and correct this, please?
EmmBee