Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too many variables
Message
From
18/09/2006 17:21:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
18/09/2006 15:10:36
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01154870
Message ID:
01154931
Views:
6
>Uh, Oh. Too many memory variables. Nobody told me about this. Can the number be increased...how?
>
>Thanks, Randy

Of course, incrementing the max. allowed variables will require the least redesign.

But on the other hand, this error message might be an indication of a design problem, for instance, too many global variables. Local and private variables automatically get killed as soon as the function that uses them finishes. Also, consider:
  • Combining several values in an array.
  • Using object properties. For instance, your global variables might be defined as properties of a single, or a few, global objects.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Previous
    Reply
    Map
    View

    Click here to load this message in the networking platform