Page 1 of 1

CLS - Incorrect documentation

Posted: Sun Mar 23, 2025 2:39 pm
by EmmBee
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.
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.
The above is incorrect for the values 1,2,3 & 4. The cursor does in fact remain in the same place.

Can someone do the necessary and correct this, please?

EmmBee

Re: CLS - Incorrect documentation

Posted: Sun Mar 23, 2025 3:22 pm
by XorA
Go to top right of the page, click on "edit on github" and submit the change you wish!

Re: CLS - Incorrect documentation

Posted: Sun Mar 23, 2025 5:55 pm
by NormanDunbar
Edited CLS as requested.
Merged a commit that I was nearest of from 2023 for the QPC commands.

Latest version is currently building....give it half an hour or so. Assuming it builds of course! Edit the build is complete.

FYI, "Edit on github" only works if you are logged in to github and have editing privileges on the repo.

Cheers,
Norm.