Max wrote: > > On Feb 24, 2006, at 11:51 AM, Bernie wrote: > >> >> def fn UBound( @p as pointer ) = [p + _AutoXREFCurr] - 1 >> > > First, I could not find a reference to _AutoXREFCurr whatever it > is. Maybe it's not important. Just curious as to where you found > the constant and what it means. Max, That function (I think) came from an example on the FB CD. All I know is it returns the last element number in a dynamic array. Bernie