Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#360 current() used twice in a predicate

v8.4
closed
Michael Kay
5
2012-10-08
2005-05-13
Michael Kay
No

If more than one call to the current() function appears
within a predicate, the first occurrence is evaluated
correctly, but the second and subsequent occurrences
are evaluated as if they were ".".

Applies to 8.4 and previous releases.

This will be fixed in the next version by virtue of a
redesign of the way current() is handled. Meanwhile the
problem can usually be circumvented by using a variable.

Michael Kay

Discussion