Have been checking the beta on some scripts and am indeed seeing faster performance.
One strange behaviour on same script between its uncompiled and compiled forms. I'm fairly sure I'm using the beta AHK .exe and the beta AHK SC.bin in the Compiler directory.
It's the effect of "SetFormat, integer". Here's a code snippet
Code:
int1 := 100
MsgBox int1 decimal: %int1%
SetFormat, integer, hex
int1 += 0
SetFormat, integer, d
MsgBox int1 hex: %int1%
If I run this by double clicking the .ahk the second MsgBox reports int1 as "0x64" as expected.
If I compile the script then run the .exe the 2nd MsgBox reports int1 as "100"
I can get the compiled version to report "0x64" by removing the second SetFormat statement.
Would appreciate if anyone could just check this. Should I be doing anything other than installing the AHK beta .exe in the AHK directory and the beta ..SC.bin in the Compiler subdirectory?
This is significant as I use this method to prepare a hex string for writing to a COM port.
Many thanks
Ian