what is reserved keyword?


japanese 2020-08-23 08:36

i want use sub program name "WRITE" ,but can't
because error "reserved keyword "
can't i use that name?

Pong!!!.nx | Open in app
2020-08-23 08:36

G-9 2020-08-23 09:23

No you can't because WRITE because is a reserved keyword, like PRINT or BG.

was8bit 2020-08-23 11:13

simple explanation: RESERVED = can not use

Longer explanation: the words on the list of RESERVED Keywords are words Timo "may" use later as a real command, but these keywords are currently not real commands...


"IF" Timo did NOT have RESERVED words, then today you could use WRITE... but "IF" later Timo updated lowres to include WRITE as a command, then all of your older games using WRITE as a variable or label or sub would not work and would produce an ERROR message....


was8bit 2020-08-23 11:15

EASY FIX: just reword WRITE as something else, like IWRITE, or DOWRITE or WRITEIT :)

japanese 2020-08-23 13:04

thanks :)

was8bit 2020-08-23 16:25


Log in to reply.