Applesoft BASIC: Difference between revisions

Content deleted Content added
Trivia: "ultimate" also could mean best/greatest (at least by connotation), so say "last" instead if that's the meaning
m Sample code: rephrased "?" versus "PRINT" explanation to be technically accurate
Line 29:
20 ?"HELLO WORLD"
 
Multiple commands could be included on the same line of code if separated by a colon (<code>:</code>). The <code>?</code> can be used in Applesoft BASIC as a shortcut for "PRINT", though spelling out the word is not only acceptable but canonical &mdash; Applesoft converted "?" in entered programs to the same token as "PRINT", whichthus either would appear as "PRINT" when a program was listed. The program above would be appear in a <code>LIST</code> command as:
10 TEXT : HOME
20 PRINT "HELLO WORLD"