8-50 Trio BASIC Commands
Input / Output Commands
Trio Motion Technology
GET#
Type:
Command
Description:
Functions as
GET
but the input device is specified as part of the command. The
device specified is valid only for the duration of the command.
Parameters
Example:
GET#3,k 'Just for this command input taken from fibre optic
Note:
Channels 5 to 9 are logical channels which are superimposed on to Serial Port A by
Motion Perfect.
Example 2:
Get a key in a user menu routine
g_edit:
PRINT #kpd,CHR(12);CHR(14);CHR(20);
PRINT #kpd,CURSOR(00);"<=|General Setup1|=>";
PRINT #kpd,CURSOR(20);"Cut Length : ";VR(clength)
GET #kpd,option
IF option=lastmenu OR option=f1 THEN RETURN
IF option=menu_l2 THEN GOSUB set_cut_length
GOTO g_edit
n: 0
Serial port 0
1
Serial port 1
2
Serial port 2
3
Fibre optic port (value returned defined by
DEFKEY
)
4
Fibre optic port (returns raw keycode of key pressed)
5
Motion Perfect user channel
6
Motion Perfect user channel
7
Motion Perfect user channel
8
Used for Motion Perfect internal operations
9
Used for Motion Perfect internal operations
10+
Fibre optic network data
x:
Variable