Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking Parameters
Message
De
30/03/2006 14:49:51
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
30/03/2006 12:23:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01108949
Message ID:
01109321
Vues:
24
>Hi,
>
>>>>Thinking some more about what you want to, ASSERTs are the way to go. They're designed specifically for developer errors.
>>>
>>>In COM objects ?
>>
>>You can still instantiate them within Fox as ordinary objects while developing. Then it'd surely work. After that, it's runtime - and runtime simply ignores assert, set step, debug, suspend (did I forget any?).
>
>But the question was about trapping bad parameters when the COM object was used by other developers. Assert wouldn't work then.....

Um, in that scenario, right. It goes into the dark woods of COM debugging... or the darker wood of thoroughly documenting what we give to others :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform