Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a class form
Message
De
12/11/2001 13:40:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00579966
Message ID:
00580566
Vues:
32
>The limited circumstance of returning a single value from a form class.

Every time you need a single return value from a form class?

As far as the level of "cleaness", in what ways would a private variable be cleaner? Unless this is old news to everyone else, we can list the pros and cons of both approaches here or at the wiki.

>Why not a public variable for these items?

Why not? I dunno, but in that scenario, Private and Publics are pretty much the same, and I aviod using a public, so I use a private.

>I don't understand where you are going here. You begin with espousing a second reasons where you would use a private variable. The passage above then concludes with why private variables are not a good idea in this case. Could you clarify what you mean here?

Ahh, I see. Bad grammar and rushed thoughts (there was a large line of students behind me in the computer lab). The paragraph explained where I would use a private variable, and then I attempted to say that I wouldn't use one to return a value from a class.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform