[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Run time debugging for includes



PureBytes Links

Trading Reference Links

Hello,

I have been reorganizing my trading system to a very modular approach  
using #include for each of the functional modules.  My main program  
has become a shell of the various included files.

When I click an on-chart button, I got a runtime error today that just  
flashed once and then was gone -- variable 'x' used without being  
initialized at line 555 col 4843.  I guessed it was part of a  
ParamTrigger() like button click processing, since the program ran  
after that.

Line 555 points to an #include statement, but what is column 4843?   
would that be the 4843 character of the file?  The actual error  
detected was in line 100 of the include file, so an average of 48  
characters per line would be reasonable with the dense way I code AFL.

Is there a quick and easy way to locate the nth character of the file  
within the Formula Editor for the next time an error inside an include  
happens (and there will be many now)?

Best regards,
Dennis


------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

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

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

For other support material please check also:
http://www.amibroker.com/support.html

*********************************
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/