Procedures

From Smart Box
Jump to navigation Jump to search

You have typed some commands and Smart Move has acted on them immediately. The next stage is to build a sequence of commands to perform a task which Smart Move will carry out. A procedure is a sequence of instructions. Each procedure is given a name, which can be up to 15 characters in length, when you create it.

Follow these instructions to create a procedure called flash which will switch on one of the outputs for one second. Begin by typing BUILD flash < Enter >

The screen will change to display the Smart Move procedure editor as shown in fig. 2.

fig. 2

Type the lines show in fig. 2 into the editor.

You can edit any line by moving the cursor with the cursor keys and inserting characters, or deleting them using the delete key. When you have entered all the lines press the < Esc > key. This will close the editor and display the main screen. Now type flash and press < Enter >.