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

Welcome | Register | Changes | Topics | Index | Search | Go
 <<O>>  Difference Topic VarSET (3 - 2012-11-13 - TWikiContributor)
Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

SET{"name" value="..."} -- set a variable

  • Set a named variable that can be retrieved later with %GET{}%. No output is shown, e.g. %SET{}% resolves to an empty string. The %SET{}% and %GET{}% variables are handled by the SetGetPlugin.
  • Syntax: %SET{ "name" value="..." remember="1" }%
Changed:
<
<
>
>
 
"name" Name of variable. Alphanumeric characters, dashes and underscores can be used. (required)
value="..." Value of variable. Escape double quotes with backslash. (required, may be empty)
remember="1" If set, the variable will be stored persistently so that it can be used later in any TWiki topic. See important notes. "0"
Added:
>
>
 

 <<O>>  Difference Topic VarSET (2 - 2012-01-07 - TWikiContributor)
Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

SET{"name" value="..."} -- set a variable

Line: 10 to 10
 
value="..." Value of variable. Escape double quotes with backslash. (required, may be empty)
remember="1" If set, the variable will be stored persistently so that it can be used later in any TWiki topic. See important notes. "0"
Changed:
<
<
>
>

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

SET{"name" value="..."} -- set a variable

  • Set a named variable that can be retrieved later with %GET{}%. No output is shown, e.g. %SET{}% resolves to an empty string. The %SET{}% and %GET{}% variables are handled by the SetGetPlugin.
  • Syntax: %SET{ "name" value="..." remember="1" }%
  • Supported attributes:
    Attribute Comment Default
    <-- -->
    Sorted ascending
    remember="1" If set, the variable will be stored persistently so that it can be used later in any TWiki topic. See important notes. "0"
    "name" Name of variable. Alphanumeric characters, dashes and underscores can be used. (required)
    value="..." Value of variable. Escape double quotes with backslash. (required, may be empty)
  • Example: %SET{"lunch" value="Sushi"}% - see more examples.
  • Related: GET, IF, SetGetPlugin, SpreadSheetPlugin#FuncSET

View | History: r3 < r2 < r1 | More

View | History: 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.VarSET.