XpressDox Help Center

Use Google To Find Help Fast, e.g. xpressdox choosefromlist


Press Getting Started in the XpressDox toolbar for basic template development
Watch the tutorial videos
View command help from list of commands
Press F1 for help on a command in the Command Editor
Email support@xpressdox.com for assistance

The Value Function


The Value Function

This function is usually used inside Scripts, when you want to use a script as a function inside another command. The function returns exactly what it is passed, as in:

«Script(DemoValue)»«Value('This is what will be returned by the function')»«ScriptEnd()»

The use of this script “as a function” would be something like

«If(A = DemoValue())»Data Element A has the value “This is what will be returned by the function”.«End()»

The contents of the Script in this case must be a fillpoint, and this fillpoint is invalid:

«'This is what will be returned by the function'»

Hence the use of Value.