Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding object properties at runtime.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00036082
Message ID:
00036413
Vues:
53
>> > 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 ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform