Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't Laugh...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00250702
Message ID:
00250710
Views:
19
>I keep running across examples of code that occasionally prefix variables with m. (ie. m.nTablesUsed = AUSED(aTablesUsed))
>
>I've been trying to figure out what the signifigance of the m. is in the context of the code, but it's hasn't clicked yet. All of the books I've been reading provide examples of code using it, but none have explained the purpose. (My guess is that's it's so elementary they didn't think it needed to be explained, which may be true, but there are always a few in the crowd that happen to be more dense than the rest =)
>Can somebody please enlighten me? (Or, if it's a lengthy explanation, point me to documentation...)
>
>Thanks!

Hi Kile,

It indicate that it's a memory variable. The reason for it goes all the way back, I think, to the original dBase which had only 12 work areas (A through L). These days you don't see it as much with Hungarian notation being in favor.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform