FUNCTION ::= SYMBOL
@endverbatim
-Each @c MODULE declares the name of external module (i.e. dynamic
+Each @c MODULE declares the name of an external module (i.e. dynamic
library) and function names exported by the module. If a @c FUNCTION has
name "init", it is called with only the default arguments (see the
section about @c CALL) when an input context is created for the input
A variable is a symbol associated with an integer, a symbol, or an
M-text value. The integer value of a variable can be set and referred
-by the @c SET action. It can be referred by the @c INSERT and the @c
-IF actions. The M-text value of a variable can be referred by the @c
-INSERT action. The symbol value of a variable can not be referred
-directly, is used the library implicitly (e.g. candidates-charset).
-All variables are implicitly initialized to the integer value zero.
+by the @c SET action. It can be referred by the @c SET, the @c
+INSERT, the @c SELECT, the @c UNDO, the @c IF, the @c COND actions.
+The M-text value of a variable can be referred by the @c INSERT
+action. The symbol value of a variable can not be referred directly,
+is used the library implicitly (e.g. candidates-charset). All
+variables are implicitly initialized to the integer value zero.
</ul>
INSERT ::= '(' 'insert' MTEXT ')'
| MTEXT
| INTEGER
+ | SYMBOL
| '(' 'insert' SYMBOL ')'
| '(' 'insert' '(' CANDIDATES * ')' ')'
| '(' CANDIDATES * ')'
The third form inserts the character @c INTEGER before the current
position.
-The fourth form treats @c SYMBOL as a variable, and inserts its value
-(if it is a valid character code) before the current position.
+The fourth and fith form treats @c SYMBOL as a variable, and inserts
+its value (if it is a valid character code) before the current
+position.
-In the fifth and sixth forms, each @c CANDIDATES represents a
+In the sixth and seventh forms, each @c CANDIDATES represents a
candidate group, and each element of @c CANDIDATES represents a
candidate, i.e. if @c CANDIDATES is an M-text, the candidates are the
characters in the M-text; if @c CANDIDATES is a list of M-texts, the
If there's an integer argument NUM, it must be positive or negative
(not zero). If positive, from the NUMth to the last events are
-canceled. If negative the last (- NUM) events are canceled.
+canceled. If negative, the last (- NUM) events are canceled.
If there's a symbol argument, it must be resolved to an integer number
and the number is treated as the actual argument as above.
UNHANDLE :: = '(unhandle)'
@endverbatim
-This action commits the current preedit and return the last key as
+This action commits the current preedit and returns the last key as
unhandled.
@verbatim