Quote:
Originally Posted by Doug-W
But that's the only section that describes test. There's no description on that page of test where it takes 3 values. Indeed nothing in template programming mode section which introduces the $ concept indicates which of the functions introduced in single function mode would now take an additional parameter of the field the expression is to operate on.
|
From the documentation for Template Program Mode:
All the functions listed under single-function mode can be used in program mode, noting that unlike the functions described below you must supply a first parameter providing the value the function is to act upon.
The following functions are available in addition to those described in single-function mode. Remember from the example above that the single-function mode functions require an additional first parameter specifying the field to operate on. With the exception of the id parameter of assign, all parameters can be statements (sequences of expressions):
Quote:
Would I be correct in assuming that every function introduced in the previous section will take a new 1st parameter which can be '$'?
|
Yes