Code: Select all
String := "The quick brown fox jumps over the lazy dog"
MsgBox String
Code: Select all
String := "The quick brown fox jumps over the lazy dog"
MsgBox String
Code: Select all
msgbox(Type(String)) ; Class
msgbox(Type(String.call)) ; Func
str := String.Call.bind(String)
msgbox(type(Str(1234))) ; String
Code: Select all
main
main() {
String := "The quick brown fox jumps over the lazy dog"
MsgBox String
}
A number of classes are predefined, effectively reserving those global variable names in the same way that a user-defined class would. (However, the changes to scope described below mitigate most issues arising from this.) For a list of classes, see Built-in Classes.
Source: Changes from v1.1 | AutoHotkey v2