I don't know if this is a MS problem or a problem on my computer. My OS is XP sp1. I have not successfully compiled any script that contains a complex if statement.
As an example:
Let>a=5
Let>b=6
IF>{(%a%=5) AND (%b%=6)}
Let>e=YES
ELSE
Let>f=NO
ENDIF
This simple script will run fine as a script, but will fail as an exe. In Windows XP I receive an error message that says: "test.exe has encountered a problem and needs to close. We are sorry for any inconvenience."
Any ideas?
Need more information?
Thank you,
Dick
Compiling complex "if" statement fails
Moderators: JRL, Dorian (MJT support)
Thank You Me_again.
I just temporarily installed version 7.3.05 on my home computer which is also Win XP sp1. I pasted in the code as you posted it. After a successful compile, I experienced a miserable failure when trying to run the executable file. The same error I get at work.
I'm stumped. Any ideas how to debug this problem?
Thank you,
Dick
I just temporarily installed version 7.3.05 on my home computer which is also Win XP sp1. I pasted in the code as you posted it. After a successful compile, I experienced a miserable failure when trying to run the executable file. The same error I get at work.
I'm stumped. Any ideas how to debug this problem?
Thank you,
Dick
I have purchased 5 standard (non-compiling) license of Macro Scheduler and one pro version. The updates that I have available for download do not seem to be updating anything related to the compiler. The scripting portion of the "pro license" updates with the provided update file, but I'm suspecting that the compiler I'm using doesn't know what to do with the new complex statements.
I have sent a note with this info to [email protected]. Probably have to wait until tomorrow to hear from them but we'll see if they can help.
Thank you, Me_again, for your help.
Dick
I have sent a note with this info to [email protected]. Probably have to wait until tomorrow to hear from them but we'll see if they can help.
Thank you, Me_again, for your help.
Dick







Got the email from support while I was typing the last post. They set me up with the correct update (it has "wc" in the file name... must mean "with compiler") and I'm now making good exes with complex commands.
One more thank you for Me_again. Would certainly have taken much longer for me to figure this out without your help.
Dick