Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
USR (solved)
#1
Where is the USR function?
Reply
#2
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).
Reply
#3
Why USR does not appear in https://zxbasic.readthedocs.io/en/latest/identifier/ ?
Reply
#4
Because it's not yet documented. I'll add it.
Thanks for reporting it.
Reply
#5
If you don't have time to write the page,
then just add the word to the index.
Reply
#6
Added: https://zxbasic.readthedocs.io/en/docs/usr/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)