Atitit. Definition of variables get storage physical structure basic types simplified implicit conversion type derivation and underlying principle ATTILAXDSL

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.