V2 Unexpected Reserve Word Error after improper blank variable declaration
Posted: 26 Jan 2023, 12:20
I'm converting code to V2, and ran into this error, which confounded me for a few minutes.
The error is:
The issue is actually the line before it. After I changed it to strRet:="", the error was resolved.
Code: Select all
FunctionName(params*) {
strRet:=
For k,v in params
strWrite.=v
}
Code: Select all
Error: Unexpected reserved word.
Text: in params
Line: 15
File: T:\Security\AHK Scripts\Test2.ahk