Atitit. definition of variables get storage physical structure basic type simplification Implicit conversions Type deduction ATTILAXDSL with the underlying principle
1 . 1. $ Dollar character , php blackheads 1
1 . 2. default scope and declaration of variables: 1
1 . 3. storage of variables, stored in a variable pool Map(varname,varval) 1
1 . 3.1. Compound Variables 1
1 . 4. Variable Type Simplify : string number, bool 1
1 . 5. variable Auto-implicit conversion 2
1 . 6. Type deduction 2
2 . Reference compound variable 2
1.1.$ Dollar character , php blackheads
1.2.defaultscope and declaration of variables:
In addition to the functions in the Local Variables , all other variables are global, meaning that their contents can be read or changed anywhere in the script. In addition, variables are not required to be declared; they are created whenever they are used ( each variable is initially empty / blank ).
1.3.storage of variables, stored in the variable poolmap ( varname,varval)
variables are defined with the Get def ("v1","val1"), Echo ($ ("$var 1"));
1.3.1.Compound Variables1.4.Variable TypeSimplify:string number, bool
AutoHotkey does not explicitly define variable types; All variables are stored as strings. However, when a variable that contains only numbers ( and can have decimal points ) is mathematically calculated or compared, it is automatically converted to a numeric value ( Integer or floating-point number, etc. ). Conversely, when the result of a mathematical operation needs to be stored in a variable, it is converted back to the string.
1.5.variable Auto-implicit conversion
1.6.Type deduction
author:: Nickname:Old Wow's claws( Full Name::AttilaxAkbar Al Rapanui Attilaksachanui) Kanji Name:Ayron, email:[email protected]
reprint Please indicate source: http://www.cnblogs.com/attilax/
2.complex storage structure of variables, using the class schema structure body
3.ReferenceCompound Variables
Atitit. Definition of variables get storage physical structure basic types simplified implicit conversion type derivation and underlying principle ATTILAXDSL