[amibroker] Is it good practice to break a huge afl script to many include files?

 

I am trying to make my scripts very modular.  Small main programs with lots of functions. 

Actually my main afl sript is less than 20 lines.  Right now my project totals about 1500 lines and I estimate that it will grow to more than 15.000 lines.

Is it a design flaw to use many #include files?  I find it very impractical to have a huge afl script with 15.000 lines.

The documentation of the #include warns about a drawback of using #include:
"Note 2: using #include command may slow down formula execution even considering the fact that AmiBroker tries to include only once and cache pre-processed text"
https://www.amibroker.com/guide/afl/_include.html

I have not benchmarked it, but I hope the delay is not much.

Lately I discovered that the new AB debugger will not allow breakpoints in included files.  This rules out the use of the debugger for my kind of design. 

This made me think that I might be doing something wrong.


__._,_.___

Posted by: "B. Pitatzidis" <bobptz@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___

Related Posts


EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv