xcall MIAMEX, MX_GETLOKSER, lokflag
xcall MIAMEX, MX_SETLOKSER, lokflag
MX_GETLOKSER (MIAMEX 50) returns a flag indicating if LOKSER is active or not. MX_SETLOKSER (MIAMEX 51) allows you to turn LOKSER on or off.
Parameters
lokflag (F6) [out for GET, in for SET]
SET: set to 0 to turn LOKSER off, or non-zero to turn it on. GET: will be returned as 0 if LOKSER is not active, while a non-zero value indicates that it is active.
Comments
You may also use SET.LIT to query or change the LOKSER status.