Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why cannot use & with Thisform.SomeProperty
Message
 
 
To
05/05/2009 10:57:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01397844
Message ID:
01397972
Views:
90
>>replace (lcFiledName) with lcValue in (lcAlias) && this is much better and safer syntax
>
>Why is it safer -- seems to be only a matter in choice of syntax? Both accomplish the same task exactly every time, nothing more nothing less...

REPLACE .. IN avoids problems when the table is at EOF()

Name expression is easier to read/understand and it is supposed to be faster than macro (not that it matters for a single operation, though).
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform