Skip to navigation

BBC Micro Elite

Text: ERND (6502SP version)

Name: ERND [View in context] Type: Macro Category: Text Summary: Macro definition for random tokens in the extended token table Deep dive: Printing extended text tokens
The following macro is used when building the extended token table: ERND n Insert recursive token [n] * Tokens 0-123 get stored as n + 91 See the deep dive on "Printing extended text tokens" for details on how random tokens are stored in the extended token table. Arguments: n The number of the random token to insert into the table, in the range 0 to 37
MACRO ERND n EQUB (n + 91) EOR VE ENDMACRO