Skip to navigation


Text: ECHR

[Commodore 64 version, Game data]

Name: ECHR [Show more] Type: Macro Category: Text Summary: Macro definition for characters 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 ECHR * TKN1 uses ECHR

The following macro is used when building the extended token table: ECHR 'x' Insert ASCII character "x" To include an apostrophe, use a backtick character, as in ECHR '`'. See the deep dive on "Printing extended text tokens" for details on how characters are stored in the extended token table.
Arguments: 'x' The character to insert into the table
MACRO ECHR x IF x = '`' EQUB 39 EOR VE ELSE EQUB x EOR VE ENDIF ENDMACRO