FuPeiJiang / ahk_parser.js

find func, string, everything in AHK_L v1; convert v1 to AHK_H v2; converter
https://FuPeiJiang.github.io/ahk_parser.js/
13 stars 1 forks source link

Incorrect "<>" expression translation #13

Open jNizM opened 3 years ago

jNizM commented 3 years ago

if (String <> "W") ; old if (String <> "W") ; new (incorrect) if (String != "W") ; should be this

v2 Error: Missing operand

See: https://www.autohotkey.com/docs/Variables.htm#compare (Deprecated: The <> operator is not recommended for use in new scripts. Use the != operator instead.)

FuPeiJiang commented 3 years ago

easiest first :D