>
>That only applies to the first array element. All the more reason to studiously avoid m. with array references.
Actually, all elements of the array. But that's beside the point. The "m" refers to "memory", not to "variables". Even UDFs can be referenced in this manner.
? MESSAGEBOX(YEAR(DATE()))
? MESSAGEBOX(m.YEAR(DATE()))
FUNCTION Year (Date AS Date)
RETURN "No matter what, it is always 1984..."
ENDFUNC
----------------------------------
António Tavares Lopes