Applesoft BASIC: Difference between revisions

Content deleted Content added
Oops, punctuation mishap! :*)
According to "Apple II Reference Manual, January 1978" (brick red cover), Integer BASIC DID have an ASC function (p22), and "LET" WAS optional (p25); but Appelsoft lacked MOD
Line 10:
* Single-precision [[floating point]] variables with an 8-bit exponent and a 31-bit significand and improved math capabilities, including trigonometry and logarithmic functions
* Commands for high-resolution graphics
* <code>CHR$</code>, <code>ASC</code>, <code>STR$</code>, and <code>VAL</code> functions for converting between string and numeric types (both languages did have the <code>ASC</code> function)
* Ability to omit the <code>LET</code> command from the [[assignment (computer science)|assignment]] of a variable
* [[User-defined function]]s: simple one-line functions written in BASIC, with a single parameter
* Error-trapping, allowing BASIC programs to handle unexpected errors by means of a subroutine written in BASIC
Conversely, Applesoft lacked the <code>MOD</code> (remainder) operator that had been present in Integer BASIC.
 
Whereas Wozniak originally referred to his Integer BASIC as "Game BASIC," having written it so he could write a [[Breakout clone]] for his new computer, few [[action game]]s were written in Applesoft BASIC for several reasons: