Example |
CreateStructure
V[customer]
account name1 name2 city country
The variable
V[customer]
is created as a structured variable. Its components are:
V[customer.account],
V[customer.name1],
V[customer.name2],
V[customer.city],
V[customer.country].
Other component names such as
V[customer.xxx]
are not allowed and will produce a syntax error
message.
- With
Clear
V[customer]
you can reset all components.
- The string
representation
"&V[customer]"
uses the JavaScript object notation ("JSON").
Example::
Set
V[customer.account]
"1000"
Set
V[customer.name1]
"M&S GmbH"
Set
V[customer.name2]
"Winter
tires"
Set
V[customer.city]
"London"
Set
V[customer.country]
"UK"
The string representation &V[customer] is as follows: {
"account" : "1000" , "name1" : "M&S GmbH" , "name2" : "Winter
tires"
, "city" : "London" , "country" : "UK" }
|