Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to return a value from the :: operator
Message
De
23/01/2002 08:07:13
 
 
À
22/01/2002 21:10:50
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00608748
Message ID:
00608887
Vues:
17
Hi Calvin,

In line with what everyone else has said, here is an article written by Jim Booth on the topic. It may be of some help.


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxtk99/html/FT99L15.asp


- Brian



>I have a clase that is the third level in the class hier. I want to skip the processing in the second level class and execute the code in the base class for a particular purpose. However, the class generates a return value to the form.
>My code is:
>
>nodefault && SKIP PROCESSING IN CLASS ABOVE
>basecust::save && execute base class code.
>
>However basecust::save returns a +1 for success and a -1 for failure and I cant figure out how to get a return value from basecust::save. If I try :
>r=basecust::save VFP generates an error. Help.


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform