forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Getting OUT OF SYSTEM RESOURCES error...Anyone know whY?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Mon Feb 18, 2002 2:45 pm    Post subject: Getting OUT OF SYSTEM RESOURCES error...Anyone know whY? Reply with quote

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 Cool
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon Feb 18, 2002 8:39 pm    Post subject: Reply with quote

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 Smile

_________________
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
View user's profile Send private message Send e-mail
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Tue Feb 19, 2002 6:28 pm    Post subject: Reply with quote

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... Confused

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 Wink

Marty
http://www.extremesenses.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group