>> > But you can do this in C++.
>>
>> Are you sure? I don't think so...
>
>AFAIK, you can't add properties to a C++ object. But you can add
>properties to a FoxPro object using C++.
Oh yeah... in fact that's what AddProp does.
>Agreed. Personally, I can't understand how this could be useful, unless
>you tried to rewrite Randy Pearson's CodeBlk for OO -- now there's a
>challenge!
Nah, Codeblk doesn't need it. The only limitation there is that you can't
use LOCALs since they don't have the line-by-line scope required to
execute the code.
BTW, just in case you didn't know, Randy did put out a CodeBlk class, which
is a lot cleaner than the original, because of the built in error handling.
+++ Rick ---