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 Log Functions


The Log Functions

There are three similar functions which can be used to debug a template.

Log

This takes one argument and would look something like:

«Log(Reached the paragraph after A)»

This creates a log message in a file called LogXpressDox.txt which will be written to the My Documents folder of the user running the template.

Another variant of the Log function would be:

«Log(concat('Reached point a, variable X has value:', GetV('X')))»

But this is catered for by the function

LogVariables

This would look something like:

«LogVariables('Reached point b, variables are',Total,SubTotal,VAT)»

LogDataElements

This is similar to the LogVariables function, but perhaps not as useful, in that variables can change their values during an assembly (that’s why they are called “variables”), whereas data elements maintain their values for the lifetime of the assembly process.

«LogDataELements('Reached point c, data elements are',Name,Address,DateOfBirth)»