2.2.1.3. Variable values - functions

Variable values: All keys which are built with the schema „Name=?“ are interpreted during runtime. The command is given in VB syntax.

The following example shows that the value of the "FileName" key is assembled via a VB command.

FileName=?GetObject("iface.calcnameservice").start(0).Format("<GENNAME>").Value()

In the following some important functions are explained by which you can adjust the commands as desired.

"Assembling" functions:

These are assembled separated by a point (.).

Example:

The function RepSeq(a1,b1) shall be inserted in an existing key:

Before:

poolpath(isCreaOptNotSet)=?GetObject("iface.calcnameservice").start(0).
Format("$CADENAS_DATA/pool/cadname").value()

After:

poolpath(isCreaOptNotSet)=?GetObject("iface.calcnameservice").start(0).
Format("$CADENAS_DATA/pool/cadname").RepSeq("NORM9,NORM8").value()