Wiki Help :: Wiki Help/TightWiki Logo.png

Get


Overview
The Get standard function retrieves the value of a previously defined wiki page variable. This is useful when you want to control parts of the page from a single location in the markup.

Prototype
##Get(string [key])

Parameters

Examples
##Set(MyVariable, Green)

##Get(MyVariable)

##Color(##Get(MyVariable), This is some text)


Shorthand
You can also set and get variables by using short hand, which is actually prefered for cleanliness.
Set variable:
${variableName = This is the variable value}

Get variable:
${variableName}


See Also
Set
Function Calling Convention
Scope Function
Instruction Function
Standard Function

Related


Last modified by Admin @ 6/2/2024 3:19:26 PM

Comments

Login to leave a comment. View all comments