Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I never really thought much of property assign methods..
Message
De
14/07/1999 11:24:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00241039
Message ID:
00241272
Vues:
18
Wouldn't returning addbs(path) on an access rather than storing addbs(path) in assign be safer and 'more correct'. It doesn't matter, its just so many poeple point out my code as not being 'correct' that I think it made me paranoid...

>Evan,
>
>One quickie, I have some properties that store paths, their Assign methods look like:
>
>LPARAMETERS vNewVal
>
>this.cImportPath = addbs( m.vNewVal )
>
>That way my code that opens files along those paths never have to check to make sure the rightmost character is a \
>
>>Could you go into more detail with this example? I haven't found a use for access and assign methods yet.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform