>>>>>
>>>>>?eval("oo."+"arr[2,2]")
>>>>>
>>>>
>>>>Eval() is only slightly better than macro - that's what I eventually did, that's the quick and dirty.
>>>
>>>not true. Check it.
>>
>>I know it's lots faster and doesn't hide compilation errors (like a macro does - one & somewhere on a horribly wrong line and it goes uncompiled until runtime), but it's still something that's interpreted at runtime and I'd better check for type of the expression I'm eval()uating so it doesn't error out. I guess getpem() and pemstatus() are doing the same, more or less.
>>
>>In this case I had to do an ascan() on one of the dozen arrays stored as properties of This, and then pick the element from that row. Works fine enough with a macro for the array name, though now I'm thinking it may be better served with storing all of these values into a cursor (actually two cursors, one array has three columns while others have two).
>
>
>? type("oo.arr",1)
>? type("oo.arr[2,2]")
>? type("oo.arr[7,2]")
>
It's exactly that 2nd parameter that I wish we had in getpem(), to return an array when there is one. But then it would have to be either a copy or some kind of weird reference to the array property. Anyway, issue is moot - no fixes anymore, but then no new bugs either :).