If the same user function is used more than once in the same text box then, even though it has different parameters and different results each time, every instance will print the same result.
eg. if the text box contains:
%Dollar[555]% %Dollar[707]% %Dollar[2]%
and "Dollar" is a user function that simply formats the value as dollars and cents, the output will be:
$5.55 $5.55 $5.55
This also occurs if the function calls are in different alternate restrictions, but not if they are in different tasks.
Workaround: If you duplicate the function and use a different copy each time, eg:
%Dollar1[555]% %Dollar2[707]% %Dollar3[2]%
then you get the expected output.
|