Contents
How many lines are there in Applesoft BASIC?
Any Applesoft BASIC program consists of a number of lines, each beginning with a non-negative integer number (referred to simply as “line number”). Empty lines are also allowed and are frequently used in this tutorial to visually separate code sections.
What do you need to know about Applesoft BASIC?
Please use this online simulator to program in Applesoft BASIC and run any examples from this tutorial. Any Applesoft BASIC program consists of a number of lines, each beginning with a non-negative integer number (referred to simply as “line number”).
Can a single line contain more than one command?
A single line can contain multiple commands separated by colon. Also, you can include a comment by adding REM command and placing text after it. REM commands and comments themselves are ignored when program runs; however they are useful for description of what we want to do (for other programmers or for ourselves).
How are the lines in a BASIC program numbered?
When BASIC program runs, it is normally executed according to the line numbers, in the ascending order. When program is created, line numbers are typically separated by 10. It is common to see lines numbered 10, 20, 30, 40 and so on.
Which is the best reference for Applesoft BASIC?
This is intended as a quick reference for the Applesoft BASIC in JavaScript by Joshua Bell . Extensions beyond Applesoft BASIC are called out with footnotes. DIM var ( size [, size …] ) [, var ( size [, size …]
How did Apple get the license for Applesoft BASIC?
Apple reportedly obtained an eight-year license for Applesoft BASIC from Microsoft for a flat fee of $31,000, renewing it in 1985 through an arrangement that gave Microsoft the rights and source code for Apple’s Macintosh version of BASIC.
Which is better Applesoft BASIC or Integer BASIC?
Applesoft was designed to be backwards-compatible with Integer BASIC and uses the core of Microsoft’s 6502 BASIC implementation, which includes using the GET command for detecting key presses and not requiring any spaces on program lines. While Applesoft BASIC is slower than Integer BASIC, it has many features that the older BASIC lacks: