#MapCaseSense triggers an error

Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
arcticir
Posts: 694
Joined: 17 Nov 2013, 11:32

#MapCaseSense triggers an error

13 Jun 2022, 01:39

This script is normal if the #MapCaseSense command is not used.

Code: Select all

to:=map("a", 1)
li:=to.Clone()
MsgBox li["a"]
When used it will report an error of.

Code: Select all

#MapCaseSense Off
to:=map("a", 1)
li:=to.Clone()
MsgBox li["a"]
Error: Key not found.

Specifically: a

Line#
002: to := map("a", 1)
003: li := to.Clone()
---> 004: MsgBox(li["a"])
005: Exit

Return to “AutoHotkey_H”

Who is online

Users browsing this forum: No registered users and 72 guests