GET{"name"} -- get a variable
- Get the value of a named variable, previously set with
%SET{}%. The %SET{}% and %GET{}% variables are handled by the SetGetPlugin.
- Syntax:
%GET{ "name" default="..." }%
- Supported attributes:
| Attribute | Comment | Default |
"name" | Name of variable. | (required) |
default="..." | Text shown if variable is not found. | "" (empty string) |
- Example:
%GET{"lunch"}% returns Sushi if the following has been previously set:
%SET{ "lunch" value="Sushi" default="undecided" }% - see more examples
- Related: IF, SET, SETGETDUMP, SetGetPlugin, SpreadSheetPlugin#FuncGET
This topic: TWiki
> WebHome >
TWikiVariables > VarGET
Topic revision: r2 - 2012-01-06 - TWikiContributor