Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory Variable and Local Variable....
Message
 
To
05/10/1998 01:23:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00143781
Message ID:
00143783
Views:
22
Justok,

The m. is an alias to remove confusion between a memory variable and a table field with the same name. VFP will always use the field when this happens, the m. makes VFP use the memvar. (if you want to see that this is true try USE SomeTable ALIAS m and see the error that you get).

Variables are by default private in VFP. That means if you assign a value to a new var it will be private. Privates are visible to the routine that created them and all routines below it in the calling stack. LOCALs can only be created through the declaration (like publics Ugghhhh). Locals are ONLY visible to the routine that created them and are hidden from any routines below or above it.
Previous
Reply
Map
View

Click here to load this message in the networking platform