![]() |
USR (solved) - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Help & Support (https://www.boriel.com/forum/forumdisplay.php?fid=16) +---- Thread: USR (solved) (/showthread.php?tid=2334) |
USR (solved) - zarsoft - 02-26-2023 Where is the USR function? RE: USR - boriel - 02-27-2023 The USR function is built-in (like RND, SIN, COS, etc). Some functions are still built-in for performance or compatibility reasons. For example, USR allows both numbers and strings. USR "a" (returns the mem address of the 1st byte of UDG "a"). USR 32424 (executes machine code at 32424 and returns value stored in BC register). RE: USR - zarsoft - 02-27-2023 Why USR does not appear in https://zxbasic.readthedocs.io/en/latest/identifier/ ? RE: USR - boriel - 02-27-2023 Because it's not yet documented. I'll add it. Thanks for reporting it. RE: USR - zarsoft - 10-09-2023 If you don't have time to write the page, then just add the word to the index. RE: USR - boriel - 10-13-2023 Added: https://zxbasic.readthedocs.io/en/docs/usr/ |