Basic Program Indenter
by Graham Crow

The Basic command LISTO allows you to indent programs and thereby improve their readability when they are listed on screen or printed out. However, the Basic Editor and text editors such as Edit do not provide a context-sensitive indenting facility. BInd remedies this by inserting spaces at the start of each line and before structures such as REPEAT..UNTIL loops and CASE...ENDCASE structures.

The modified program may be saved under a different name for subsequent loading into an editor.

Using BInd
----------
1. Running the application installs an icon on the icon bar. Click Select on the icon bar icon to open the main BInd window.

2. Drag a Basic file onto the window or the icon bar icon. Details of the current file appear in the top section of the window.

3. In section 3 of the window choose whether to indent lines (i.e. spaces between the line number and the start of the line) and/or structures. In each case you may choose the amount of the indent between 0 and 9. The defaults are 1 and 2 respectively.   

4. In section 3, click on 'OK' to begin processing, and observe progress being reported.

5. When processing is complete, save the modified program by dragging the Basic icon to a Filer window. Note that a default name (adding a -I suffix to the Basic filename) is supplied.

6. The application may be removed from the icon bar by clicking Menu over the icon bar icon, and choosing 'Quit'.
               
Additional Notes
----------------
1. BInd is multi-tasking, so you can perform other Desktop tasks while processing takes place.

2. You can pause processing by pressing Escape, after which you may elect to continue or abort.

 RISC User 1992
