Posted by Robert G Laurin on August 08, 2018 at 10:27:02:
While testing a program, using (Partial Scan Codes On), I discovered that the CURPOS$ value is always wrong, seems to be pretty random but stays the same within a program.
I found in the wiki that there is a new method of getting the cursor position on an input SUB(STS(0),9,2).
The source code currently using CURPOS$ is pretty old (about 20 years).
I am just wondering, at what point did CURPOS$ fell off the edge of the world ? Or is it, that we are now using Comet32 ?
Confirmed! Programs Compiled using the Comet32 will not report a proper CURPOS$. Compiled as Comet16 will work on Comet32.
One last thing, the reported positions are off by 1. For @(24,10), while CURPOS$ returns @0A19@, SUB(STS(0),9,2) returns @180A@
Tested on a Windows 7 x64 running Comet32 2018.514 Rel 17.01
Tested on a Windows 7 x32 running Comet16 2017.512 Rel 17.01
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.