Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mdot question
Message
From
05/04/2021 19:00:39
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
05/04/2021 18:59:16
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01679493
Message ID:
01679546
Views:
35
>>Hi Mike,
>>>The array is not a memvar at all. It's more of a structure.
>>
>>Depends a lot on your POV. If you visualize it as a Locator in a C-Fll, the difference is a memvar has 0 in l_subs, whereas arrays have 1 or 2 (plus the offset values).
>>...
>>>Don't let them spend time figuring things out. Tell them.
>>
>>Putting MDot on left side of an "=" assignment already told the compiler it has to target a Memvar (including arrays an objects). MDotting that or the targets of "Store" is redundant.
>>No problem with citing personal preference or grokking speed - but it is redundant.
>>
>>>
>>>Many people write this:
>>>select alias
>>>replace alias.fieldname with value.
>>
>>Those people need to be introduced to "in alias" and the eof() trap of their coding style ;-)
>
>There is a time where it is beneficial to use the alias, 2 related tables, 1 replace command to update fields in both tables at once. Only on the fields in the not current alias.
>
>>
>>regards
>>thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform