Skip to navigation


Text: ERND

[Commodore 64 version, Game data]

Name: ERND [Show more] Type: Macro Category: Text Summary: Macro definition for random tokens in the extended token table Deep dive: Extended text tokens
Context: See this macro in context in the source code References: This macro is used as follows: * RUTOK uses ERND * TKN1 uses ERND

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