Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro Life
Message
From
21/04/2017 16:22:04
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
17/04/2017 19:34:29
Antonio Lopes (Online)
BookMARC
Coimbra, Portugal
General information
Forum:
Visual FoxPro
Category:
Contracts, agreements and general business
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01649781
Message ID:
01650521
Views:
119
>>
>>That only applies to the first array element. All the more reason to studiously avoid m. with array references.
>
>Actually, all elements of the array. But that's beside the point. The "m" refers to "memory", not to "variables". Even UDFs can be referenced in this manner.

CAN yes, but never SHOULD. Use m. for variables and nothing else.

>
>
>? MESSAGEBOX(YEAR(DATE()))
>? MESSAGEBOX(m.YEAR(DATE()))
>
>FUNCTION Year (Date AS Date)
>	RETURN "No matter what, it is always 1984..."
>ENDFUNC
>
Previous
Reply
Map
View

Click here to load this message in the networking platform