02 parameters Usage

$ @: Return the parameters "parameter 1" and "parameter 2"

* $: Returns a string, "Parameter 1 Parameter 2 Parameter 3"

$ #: Does not include the file name, different from the python, python get to the number of parameters that include the file name.

$ 1, $ 2: The first parameter, the second parameter

Big Box  02 parameters usage ink "title =" 2. Weakly typed language and dynamic language like "> 2. Weakly typed language and dynamic language class

When variable assignment on the definition of this variable, the variable type without explicit, when the program is executed in deciding what type.

3. naming convention

Only beginning with a letter or an underscore.

Guess you like

Origin www.cnblogs.com/lijianming180/p/12326483.html