View previous topic :: View next topic |
Author |
Message |
marty Professional Member
Joined: 10 May 2001 Posts: 789
|
Posted: Mon Feb 18, 2002 2:45 pm Post subject: Getting OUT OF SYSTEM RESOURCES error...Anyone know whY? |
|
|
Hi,
First my VDS app has about 4000 lines of code. I have multiple lists, variables etc... But recently when I added a new section of code to my app like : If .... list create,1....list close...else...end
at the beginng of the code and I get a OUT OF SYSTEM RESOURCES error when trying to execute my app. But if I put a GOSUB instead and put the above example at the end of the VDS code I don't get the error...
Have reached the limit of VDS? Too many lists or variables?
Thanks for your help..
Marty |
|
Back to top |
|
|
Mac Professional Member
Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon Feb 18, 2002 8:39 pm Post subject: |
|
|
Here's a few things I'd check the program for:
Check for matching IF/END combinations, make sure
each IF has a matching END.
There was (still is maybe?) a limit on how deep
IF/END and REPEAT/UNTIL could be nested (9 I think).
Make sure you don't jump out of REPEAT/UNTIL loops
with GOTO commands. You must trip the UNTIL switch.
Cheers, Mac _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
|
|
Back to top |
|
|
marty Professional Member
Joined: 10 May 2001 Posts: 789
|
Posted: Tue Feb 19, 2002 6:28 pm Post subject: |
|
|
Well I don't seem to have any IF without any END.
I noticed something today, I got the error again. I simply removed a IF END in my code and the error disapeared. It seems I may reached the maximum of IF END's for VDS
I will have to modify my code and cleaning up...
I will post on the registered area of dialogscript.com. Maybe there (I don't think so) the will have an answer...
Thanks Mac for your usual help
Marty
http://www.extremesenses.com |
|
Back to top |
|
|
|