Checked both v3.40 and v3.42.
Error refers to different lines (different code) in those versions, while same code exists in both.
I suspect that reported line number may not be correct for compiled AutoIt script.
The error is located under
Func Sanity_Check()and looks to be related to GCC compiler version checks.
Doesn't work that way, unfortunately ... during 'compilation' compiler directives, empty lines & line continuations are removed;
you would need to compensate for that. Would be fairly easy to check if I had access to the intermediate files generated during compilation, but that is not the case ATM, sorry.
[Edit: Another approach would be to run the program interpreted, which will only work if you have AutoIt (3.3.6.1 or newer)
and the full SciTE (aka SciTE4AutoIt3) installed:
- Copy the source code to where the executable is, and open it in the editor (SciTE)
- Press F5 to run it, and do whatever you need to do to provoke the error
- The error should now be reported in SciTE's lower pane, with a meaningfull line number ]
However, if you can upload an archive with your 'trunk1632latest' I'll have a look at what might be upsetting CHDK-Shell,
since (based on waterwingz' and msl's feedback) I don't think the program is at fault.
@waterwingz
Wouldn't say 'offline', but rather 'offwindows'
cheers,
wim