The home of BBC BASIC


BBC BASIC for Android

Guide to using the Touch IDE

The BBC BASIC 'touch IDE' has two main interfaces: the file selector and the program editor; when you run BBC BASIC you are initially presented with the file selector. Both should respond 'conventionally' to the common touch gestures: tap, long press (touch-and-hold), drag and pinch; details are given below. Pressing the [back] button will usually return you to what you were doing previously.

File Selector

The file selector displays a list of directories and files. The various touch gestures behave as follows:

The list always contains the following items: .. to signify the parent directory ('up'), @lib$ to signify the library directory and @usr$ to signify the user's private directory. To return to the initial screen you can tap on @lib$ then .. then examples.

You can navigate to other useful places (for example Download) by tapping .. repeatedly until you get to a list containing the directory sdcard and selecting that.

Program Editor

The program editor displays a program for viewing or editing, with syntax colouring and auto-indentation. To exit the editor press the [back] button (if the On Screen Keyboard is displayed press the button twice). The various touch gestures behave as follows: If entering program code into an empty editor, or at the very end of a program, remember to press Enter (Return) after each line of code typed.

Creating a new program

To create a new program from scratch perform the following steps:
  1. Long-press below the list of files; select New File from the menu displayed.

  2. Enter the name of the new program and tap OK.

  3. Long-press on the name of the program; select Edit from the menu displayed.

  4. Type (or paste) the program. When complete press [back] to return to the file list.
If you want your program to return to the Touch IDE automatically on pressing [back], as the supplied examples do, include an ON ERROR statement at the beginning as follows:
ON ERROR CHAIN @lib$+"../examples/tools/touchide"
If you prefer you can test the error number so that other errors are reported; see any of the example programs for how to achieve that.

Home - Products - Contact us

Best viewed with Any Browser Valid HTML 4.0!
© Richard Russell 2017