Press on the image to return to the main documentation page.
BasicLibIDE
Written by Andrew Graham
This library includes an object that can execute scripts written in the B4Script language. B4Script is a runtime scripting language intended for incorporation into applications written using Basic4ppc and Basic4Android. It is a sub-set of the full Basic4ppc language with only minor variations in syntax.
This version of the library is intended to work with an application including the Script.bas Basic4android module to implement a device based IDE. Script.bas includes platform functions which are callable as normal language functions from this language in contrast to the usual BasicLib library which has no platform knowledge and relies upon the SYS or CALLHOSTSUB functions to access underlying host functions. SYS or CALLHOSTSUB are of course available in this library in case of need.
The version number of this library should match that of Script.bas modoule it is compiled into,
Basic4Android and Basic4ppc are products of Anywhere Software and details may be found at http://www.basic4ppc.com
This class contains a B4Script interpreter. See the separate B4Script documentation for the language details and the BasicLibIDEhelp documentation for the supported platform functions.
Events:
Break(linenumber As Int) 'The script has stopped at linenumber Loaded(error As String) 'Error is an empty string if the script loaded without error Starting 'The script has initialised its variables and is about to start executing Stepped(linenumber As Int) 'The script has stepped to linenumber Message(message As String, subject As String) 'Raised by Msgbox or Print Ended(error As String) 'Error is an empty string if the script terminated without error