CONTENTS | INDEX | PREV | NEXT

SYNTAX            : % REG

RESULTING ARGUMENT: Updated register value

FUNCTION          : Add 1 to the value of the (numerical) register whose
                    name immediately follows the command.

EXAMPLE           : j 0 u1 < :s test ESC ;  %1 > q1 =
                    Count the number of occurrences of string test in
                    the buffer. Note, that this is a very ineffective way
                    to do this! The same could be done by entering
                        h s test ESC =
                    as command.

NOTE 1            : If the register contains a string-value, then an error
                    is reported.

7.0:
NOTE 2            : To access the register as an array, a subscript can be
                    used.

MATRIX