Ahk v2 Expected a Number but got a String.

Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
bapl
Posts: 119
Joined: 17 Apr 2021, 00:24

Ahk v2 Expected a Number but got a String.

21 Aug 2022, 19:53

Ahk v2 Expected a Number but got a String.
I received a line with a warning.

Question:
How to disable such errors?
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Ahk v2 Expected a Number but got a String.

23 Aug 2022, 05:13

obvious answer is, fix the warning by passing a Number to whatever is expecting to receive a Number. if ure working with a numerical String, convert it using Format() or the Number() constructor
nonobvious answer is, who knows, u havent posted any code, so no idea whats throwing

Return to “AutoHotkey_H”

Who is online

Users browsing this forum: No registered users and 49 guests