Talk:GOTO
From C64-Wiki
Jump to navigationJump to searchDid C64 BASIC allow the alternate format GO TO? I assume yes simply because the spaces were ignored.
If listyou did type it in that way, when you LIST it, did it come back out as GO TO or GOTO? Maury Markowitz (talk) 19:33, 18 November 2019 (CET)
- Spaces won't be ignored. The tokenizer generates two distinct tokens, one for GO ($CB), keeps the space and the token ($A4) for TO. This is a special syntax case which is parsed by the GO command. In general, this variation is slow because the interpreter has to process 2 tokens and (at least) one space.
- It is not merged to a single GOTO token by the tokenizer. It's left as is.
- --JohannKlasek (talk) 19:29, 3 December 2021 (CET)
Bug in line lookup code?[edit source]
I seem to recall there was some sort of bug in looking up lines if the line number was... something or other. Is this issue covered anywhere? I looked here, but perhaps this is the wrong place? Maury Markowitz (talk) 17:10, 3 December 2021 (CET)
- Yes, it's missing, yet. I added it to the German article now (see GOTO on c64-wiki.de. --JohannKlasek (talk) 19:29, 3 December 2021 (CET)
- Also added to the English version (on 3rd Dec.). --JohannKlasek (talk) 14:27, 19 December 2021 (CET)