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 


Idea for the problem with @LIB() parameter limit!

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Nov 23, 2003 10:42 pm    Post subject: Idea for the problem with @LIB() parameter limit! Reply with quote

Hi all,

I just has a brilliant idea! Very Happy Instead of using the regular VDS parsing
routine and using the commas for the seperator, why don't we use
semicolons and use a different parsing routine which allows unlimited
parameters? Shocked

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Nov 24, 2003 3:53 am    Post subject: Reply with quote

I think the problem with more parameters for @LIB() is of a different nature internally (nothing to do with comma or "|" pipe character(shouldn't matter for the script engine as it will parse both in the same way). For each set of additional parameters U allow U should have extra arrays buffers and such things hard coded internally to hold the information and dynamically create the structures from @BINARY() to pass it on to the dll U called as a parameter.
And for each additional parmeter U allow U need more and more of these things because it should be able to pass on the structs etc in all the parameters at the same time to the dll Confused I may be wrong though
And the solution probably lies in having a different more innovative way of creating structs/passing params to the actual dll called reusing the available resources again and again in a almost unlimited manner.
VDS developers may be able to elaborate more on this.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Nov 24, 2003 4:20 pm    Post subject: Reply with quote

CodeScript is right. VDS isn't limited to the amout of parameters (like the #define function), but to the size of the runtime dll. If you look at some commands like "dialog add", you see they can be over 10 parameters long... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Nov 24, 2003 7:55 pm    Post subject: Reply with quote

OK, but it was worth a try. Wink
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous 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