Home: Support: Reference Guide: Variables & Macros: <dpVarDefine>

<dpVarDefine>

D E F I N I T I O N:

<dpVarDefine> is the preferred method of defining variables. The advantage to using <dpVarDefine> is the ability to nest variables. Note: all leading and trailing padding is removed from the variable definition.

<dpVarDefine variableName>
  variable
</dpVarDefine>


A T T R I B U T E S:

style="lower|upper|title|spaced|roman|decimal|noHtml|noHtmlStyle|identifier|scriptEncode"

Please refer to the common attributes page for additional details on the style attribute.


E X A M P L E S:

<dpVarDefine myCounter>
  0
</dpVarDefine>

<dpVarDefine myCounter>
  <dpMath <dpVar myCounter> + 1>
</dpVarDefine>


Home: Support: Reference Guide: Variables & Macros: <dpVarDefine>
Questions? Comments?
Please write support@desert.net.