|
||
|
Home |
An overview of the stages of application development |
|
|
|
Making an application shell New (shell) applications are created from the “New app” entry in AppBasic's iconbar menu.
Applications created this way immediately run and will place an icon on the iconbar from where they can be quit. |
|
| Editing the resfile The shell's resfile is then edited by loading it into ResEd. (Alternatively you can replace the resfile).
Resfile editing is fairly intuitive. The guide to ResEd is in Chapter 17 of User Interface Toolbox; see also the examples in the first section of these tutorials. |
||
| Writing programs Programs take the form of BASIC files placed in !RunImage. (N.B. !RunImage is a directory which can be opened by Ctrl double-clicking the application with the Adjust - right-hand - button). The files in !RunImage contain procedure and function definitions written in the form of BASIC procedure libraries.
Event-handlers are added to the !RunImage directory for those events (selecting a menu entry, clicking an action button, ...) the programmer wishes to respond to. The quick way to do this is via the application processing menu (popped up by Ctrl double-clicking the application). Selecting leaf entries in the Event handler submenu places a BASIC file in the !RunImage directory containing a skeleton definition. | ||
Compressing Applications are compressed to a single !RunImage file via the application processing menu. This has been setup as a “toggle” - Ctrl double-clicking an application which has just been compressed will return it to its edit (shell) state. It is a good idea to compress/decompress often. Not only is it easier to keep track of any possible compression difficulties (there are remarkably few in my experience) but the Modules file is automatically updated.
| ||