Discussion

what is reserved keyword?

0

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.
(MY BAD ENGLISHHH )


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...

WHY?

"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

ok
thanks :)


was8bit 2020-08-23 16:25

:)


Log in to reply.