Daya Bay Reactor Neutrino Experiment
TWiki > VarGET (1 vs. 2)
Daya Bay webs: Public | 中文 | Internal | Help   Log In or Register

Welcome | Register | Changes | Topics | Index | Search | Go
 <<O>>  Difference Topic VarGET (2 - 2012-01-07 - TWikiContributor)
Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

GET{"name"} -- get a variable

Line: 9 to 9
 
"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
Changed:
<
<
>
>

 <<O>>  Difference Topic VarGET (1 - 2011-04-05 - TWikiContributor)
Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiVariables"

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, SetGetPlugin, SpreadSheetPlugin#FuncGET

View | History: r4 < r3 < r2 < r1 | More

View | History: r4 < r3 < r2 < r1 | More
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarGET.