home Iyonix Select Acorn RISCOS 4
AppBasic
back/gif

Editing programs

Programs
Programs take the form of BASIC procedure libraries stored in the !RunImage directory. Files can be given any legal name and can be stored at any level.

RunImage

Event handlers
There is no main program. In AppBasic this role is taken up by special procedures known as event-handlers any one of which can initiate program execution.

Libraries
Copies of BASIC libraries can be placed in !RunImage. There is no need for LIBRARY calls or 'Make' files. The library will be automatically found and appended. Any unused definitions will be eliminated at the compression stage.

Error reporting
Syntax errors are reported via throwback. To enable errors to be located the first line of each BASIC file in !RunImage must be a REM statement of the form

REM pathname

where pathname is the position of the file relative to the top-level of !RunImage. These REM statements can be added automatically to every BASIC file in !RunImage by selecting the REM... entry in the application processing menu.