setparam
Usage:
setparam [-type byte|short|int|long|float|double|boolean|string] [-desc <descrip>] [-unit <units>] [-ucd <ucd>] [-utype <utype>] <pname> <pexpr>
Sets a named parameter in the table to a given value.
The parameter named <pname>
is set
to the value <pexpr>
,
which may be a literal value or an expression involving
mathematical operations and other parameter names
(using the param$<name>
syntax).
By default, the data type of the parameter is determined
by the type of the supplied expression,
but this can be overridden using the -type
flag.
The parameter description, units, UCD and Utype attributes
may optionally be set using the other flags.