Canon X-07 User Manual page 74

Table of Contents

Advertisement

The functions of the user defined keys can be changed freely by the user. For
example, when the
LIST_
is displayed on the LCD. However, in order to execute this command, you
must depress the RETURN key. Let's change the
depressed, it will automatically execute the LIST command. Type,
KEY$(4)
= "lstLIST" +
[E!l
Now, try the
depressing the RETURN key. Let's look at the KEY$ funtion in detail.
KEY$(4)
="1st LIST"+
'-v-' '-v-'
'-.,.-
j 1
l
Key number
Characters displayed on the LCD
The KEY$ function is as shown above. The argument of the KEY$ function is
the number of the user defined key. The first three characters of the character
string enclosed in double quotation marks are displayed at the bottom of the
LCD when the CONSOLE command is executed to display which user defined
keys are set with which commands. The rest of the characters constitute a
command, and are displayed at the cursor position on the LCD when the user
defined key is depressed. The CHR$(13) is the control code for carriage return.
When this is omitted, you must
command.
The definition of the KEY$ function can be confirmed by using the
PRINT command.
PRINT KEY$(4)
The user defined keys can be set not only with often used commands, but also
with often used statements or numeric values.
key is depressed,
key. This time, the LIST command is executed without
CHR$(13)
'-
L
Command
[f!l
[E!J
key, so that when it is
Control code for carriage return
as before to execute the LIST
65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents