[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
$G
) This command lets you assign a variable from console. It is typically used to let the user enter experiment parameters at run time, such as entering a variable (using the keyboard) in the middle of a running testlist.
An integer value is read from the keyboard; the specified variable is set to the value read. This command will skip leading whitespace, and will set the variable to zero if the input could not be converted to a valid number.
The C standard library function fgets()
is used to read from
the keyboard; in most cases, this will allow the user to use the backspace
key to correct an error.
$G
$Gv1
$GV12
V12