View previous topic :: View next topic |
Author |
Message |
gonzabar Newbie
Joined: 24 Jun 2001 Posts: 15 Location: Madrid, Spain
|
Posted: Wed Nov 12, 2003 1:30 pm Post subject: More of 15 #include's |
|
|
I have a program with fifteen #include instructions. If I add other #include, the compiler hang. It's a bug ? |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Nov 12, 2003 1:36 pm Post subject: |
|
|
I think it is a limitation rather than a bug. Can U not add the code directly to your main script (ofcourse assuming that you are not using DSU without source codes as I assume that there are not too many a DSUs available) _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
gonzabar Newbie
Joined: 24 Jun 2001 Posts: 15 Location: Madrid, Spain
|
Posted: Wed Nov 12, 2003 1:59 pm Post subject: |
|
|
I wish to create a library of modules (commands and/or functions). They are grouped into categories (arithmetic modules, string modules,...) and I have created a .dsu file for category. At the moment, I have five categories with a total of sixteen modules. If I use five #include instructions in my program (one for category), the compiler hang. When I had fifteen modules only, the compiler runs Ok. There is a limitation of max. number of user commands/functions ? The problem is the same if I use one #include instruction for a module (command or function). With fifteen modules (#include's) the compiler runs ok, and with sixteen modules (#includes) the compiler hang. (excuse me, my english is bad) |
|
Back to top |
|
|
jules Professional Member
Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Wed Nov 12, 2003 2:51 pm Post subject: |
|
|
The maximum number of included files is supposed to be 32. However, I think there may have been a bug in processing nested included files, which depended on the order in which they were included. So this problem may be fixed in the updated IDE, whenever it is released. _________________ The Tech Pro
www.tech-pro.net |
|
Back to top |
|
|
|