A.2 Description
ktl ioctl option varname
ktl link
must already have been used to link the service and keyword. Usually, varname is
the keyword name, but ktl link
may have overridden this.
The currently supported options (a subset of those supported at the KTL level) are:
Name | Description |
---|---|
aliases | return a list of the keyword's alias names |
type | return the keyword's data type, currently one of the strings double , float , int , bool , string and <unk> (for "unknown") |
units | return a list of the keyword's units strings |
Returned lists are not enclosed in {}
characters if they have only a single element. Use Tcl list-handling commands to operate on them.
For example:
ktk4.1% ktl link dcs2 secmove secmove ktk4.1% ktl ioctl aliases secmove move-secondary ktk4.1% ktl ioctl type secmove bool ktk4.1% ktl ioctl units secmove no,yes(the latter shows a deficiency in the cake library; the units strings should have been returned as
{no yes}
)
Generated with Harlequin WebMaker