Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Least Used Features of VFP6
Message
De
02/11/2000 05:57:19
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
01/11/2000 12:51:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00436759
Message ID:
00437038
Vues:
22
Jeff

I think the assign and attrib methods are quite useful.

Example: say you have a client object

You can use "access" methods of various properties to only pull data if it is needed

Eg: the client's "90 day overdue" property can have an access method so it only calculates that if you read the value, and then only the first time for that client

I suppose there are other ways to do it, but being able to just read a property as and when needed is pretty cool...

Regards

JR
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform