This test shows how custom expressions can be added to ZPT-JS. We have written a custom expression class, IncExpression, available using ++:. It adds 1 to the related variable and returns it.
IncExpression