Original Author Paul Laughton, 2011
Page 24
De Re BASIC!
Changes in this Version
Clarifications and additional explanations:
o
Labels may not start with keywords. Variable names may, but this is not recommended.
o
Clarified precedence of logical and arithmetic operators.
o
A file may be Included only once in a program.
o
OnMenuKey: does not work on many devices, because they have no MENU key.
o
More complete explanation of how BASIC! paths differ from Android paths.
o
Better explanation of Array.Copy.
o
Copied description of file modes from Byte.open to Text.open.
o
Clarification of what is copied by Byte.Copy.
o
In Appendix D, described file-handling commands that cannot read res or assets.
Corrected errors:
o
The "\n" metacharacter is not CR/LF, it is just LF.
o
Fixed code sample for computed Goto.
New BASIC! functions and commands:
o
Device.language and Device.locale
o
Program.info
o
Six new ZIP commands: count, dir, open, close, read, write.
Other changes in BASIC!:
o
Expanded the About option of the Editor Menu. Includes a link to BASIC!'s Privacy Policy
as required for distribution on Google Play.
o
Added "ENCRYPT_RAW" and "DECRYPT_RAW" types to ENCODE$() and DECODE$().
o
Most ENCODE$(), DECODE$(), ENCRYPT, and DECRYPT errors do not stop your program.
Instead, they write an error message you can read with GETERROR$().
o
Added flags to Wake.lock to control screen behavior when lock is acquired or released.
o
Audio.load can take a URL as well as a file name.