Program User Level Captions

Top  Previous  Next

This sequence programs the "level" caption of the User Defined Buttons. There are a total of 4 levels with 10 buttons on each level. You can use this escape sequence to group the buttons in a level, by their function.

Parameter

Value or Description

Lead in

CHR$(27) CHR$(18)

Button

CHR$(level + 32) - see below

Caption

maximum 39 characters, followed with CHR$(0)

 

Level is 0 for level 1, 1 for level 2 and so on.

Example

PRINT CHR$(27);CHR$(18);CHR$(0+32);CHR$(13);CHR$(10);"Editing";CHR$(0);

PRINT CHR$(27);CHR$(18);CHR$(1+32);CHR$(13);CHR$(10);"Reports";CHR$(0);

PRINT CHR$(27);CHR$(18);CHR$(2+32);CHR$(13);CHR$(10); &

      "System Utilities";CHR$(0);

PRINT CHR$(27);CHR$(18);CHR$(3+32);CHR$(13);CHR$(10); &

      "Operator Utilities";CHR$(0);