Using CitectSCADA > Defining and Drawing Graphics Pages > Defining Commands and Controls > Passing keyboard arguments to functions

Passing keyboard arguments to functions

You can also pass arguments directly to functions at run time, as in the following example:

Key Sequence

F4 ######## Enter



In this example, an operator can select any graphics page (defined in the project) with a single command, for example:

selects the "Mimic" page.

Note: Keyboard arguments are passed as string values. If the command (or function) requires a numeric value, Cicode converts the string to a numeric value before it is used.

If you use variable data, the operator can only enter alphanumeric characters (A - Z, a-z, and 0 - 9) for the data. Do not use variable data input as the last item in a key sequence, as ambiguity could occur; always use a delimiter.