Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I never really thought much of property assign methods..
Message
From
14/07/1999 11:24:39
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00241039
Message ID:
00241272
Views:
11
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform