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
