FuPeiJiang/ahk_parser.js

Incorrect "IniRead" translation

jNizM opened this issue · 0 comments

jNizM commented

IniRead, SQLiteDLL, %A_ScriptDir%\SQLiteDB.ini, Main, DllPath, %SQLiteDLL% ; old
IniRead "SQLiteDLL", A_ScriptDir "\SQLiteDB.ini", "Main", "DllPath", SQLiteDLL ; new (incorrect)
SQLiteDLL := IniRead(A_ScriptDir "\SQLiteDB.ini", "Main", "DllPath", SQLiteDLL) ; should be this

v2 Error: Too many parameters passed to function

See: https://lexikos.github.io/v2/docs/commands/IniRead.htm