|
A Vortex variable is denoted by a dollar sign ($) immediately
followed by a name. Variable names have the same syntax as function
names (here), i.e. alphanumerics, underscores, spaces or a
period, and are case-sensitive (i.e. $value and $Value
are distinct variables). If a variable name contains non-alphanumeric
characters, or is adjacent to text not part of its name, its name must be
quoted to delimit it, e.g.:
I $'prefix'opened the case.
A variable is printed by simply referring to it in the Vortex
script, as above. Its value is automatically HTML-escaped when
printed (unless the script content type is non-HTML). To print a
literal $, use $$:
The price is $$39.95.
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|