>>UPDATE. I think I know where the problem also may lie. I call in the command window do Something with param. I think it's calling the exe rather than main program.
>
>
>> I think it's calling the exe rather than main program
>
>I'd be surprised
It was the case. In other words, if you don't add extension like
do myProgram.prg with 'some'
and you have .exe with the same name, then exe is going to be called.
I got bitten by this before, but now it took me a while to realize it was a case here.
If it's not broken, fix it until it is.
My Blog