About POS
By the way, this was my definition:
First I made some tests, because I wasn't sure if the object code produced by the compiler uses the ROM routines and so the related system variables are updated as well. I find out the content of the S POSN system variable is not the same when the same code is executed by Sinclair Basic or compiled by ZX Basic:
Yes, the same program in Sinclair Basic returns lower values. It's interesting.
Anyway, it's great POS already exists. I took a look at its source file and the rest of library files. There are many interesting undocumented functions.
I created the POS page in the wiki.

