Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Increasing Number of Variables
Message
 
To
05/06/2003 06:05:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00796549
Message ID:
00796574
Views:
14
Create a Cursor With each field representing a variable.
For Eg.

You need three variables i.e. VarOne,VarTwo,VarThree
Create Cursor MyCursVar(VarOne C(20),VarTwo N(12,2)VarThree L)
Select MyCursVar
Append Blank
Replace VarOne with 'AASHISH'
Replace VarTwo with 500.50
Replace VarThree with .T.

Now u can use MyCursVar.Varone .... Throughout your project.

Aashish




>Hi,
>
>I am trying to debug a problem in an app written in Fox 2.5.
>It returns the error Too Many Variables when trying to declare
>another variable. I used the command window to Display Memory to file
>and it shows the following line at the end of this file:
>
> 256 variables defined, 43379 bytes used
> 0 variables available
>
>The MVCOUNT is set to 10000 in the config.fp. Is there any other way of increasing the number of variables allowed?
>
>Thanks,
>
>Ger
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Previous
Reply
Map
View

Click here to load this message in the networking platform