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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only