FastBasic — Release 4.8.1
Unpublished candidate gathered automatically. Review, verify, and rewrite this draft before publishing.
Source: FastBasic releases
Feed excerpt: Patch release 4.8.1 This version 4.8.1 is a minor bugfix release for the cross-compiler, a bug crept that produced bad code in very uncommon situations. Also included are some size optimizations, the integer IDE is now 8176 bytes. This is the original 4.8 version release announcement: FastBasic 4.8 has functions! This is a long overdue release. The main language addition is user-defined integer functions, complemented by floating-point DATA arrays and a large compiler/optimizer cleanup. Language changes: Adds user-defined integer functions. A PROC can return a value with RETURN expression , and the function is called from any integer expression with @name(...) : PROC Square X RETURN X*X ENDPROC ? @Square(5) Calls support nested and recursive functions. RETURN can also be used without a value, as an early exit from a PROC. Active FOR loops are unwound before returning. Adds floating-point DATA arrays. Use a name ending in % : DATA values%() = 1.0, 2.5, 3.75 The elements can be read and written like other arrays. %() can now be used on the left side of an assignment, allowing floating-point values to be stored through an address: %(1536) = 0.1234 INPUT now works correctly with BYTE a
