Difference: VarGET (2 vs. 3)

Revision 32012-04-18 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

GET{"name"} -- get a variable

Line: 8 to 8
 
Attribute Comment Default
<-- -->
Sorted ascending
default="..." Text shown if variable is not found. "" (empty string)
"name" Name of variable. (required)
Changed:
<
<
  • Example: %GET{"lunch"}% returns Sushi if the following has been previously set:
    %SET{ "lunch" value="Sushi" default="undecided" }% - see more examples
>
>
  • Example: %GET{"lunch"}% returns Sushi if the following has been previously set:
    %SET{ "lunch" value="Sushi" }% - see more examples
 
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarGET.