Talk:LIST

From C64-Wiki
Jump to navigationJump to search

"But due to the special internal handling of the LIST command inside BASIC ROM, the program always terminates (as if there was an END command) after executing the LIST command, leaving the user with the READY. prompt and cursor."

I am unclear what this means. If I have...

10 PRINT "HELLO"
20 LIST
30 PRINT "GOODBYE"
40 END

Exactly what happens when I RUN this program? Maury Markowitz (talk) 22:21, 24 July 2019 (CEST)


Output is:

HELLO

10 PRINT "HELLO"
20 LIST
30 PRINT "GOODBYE"
40 END
READY.

If you use LIST in a BASIC program, the BASIC program will ends after executing the LIST command! --Jodigi (talk) 23:11, 24 July 2019 (CEST)