|
You can use the _STRICT_ predefined variable to force ACL to require that all variables in a package are explicitly declared. See Predefined variables for details.
|
$counter=5
|
The variable is an integer.
|
$name="Peter"
|
The variable is a string.
|
$char="c"
|
The variable is a character.
|
|
The initial value of every variable (that is, the value of an unassigned variable) is the null string ("").
|
$i += 2
|
is equivalent to
|
$i = $i + 2
|
$i -= 2
|
is equivalent to
|
$i = $i - 2
|
$i *= 2
|
is equivalent to
|
$i = $i * 2
|
$i /= 2
|
is equivalent to
|
$i = $i / 2
|
$i %= 2
|
is equivalent to
|
$i = $i % 2
|
$i = ++$n
|
is equivalent to
|
$n=$n+1; $i = $n;
|
$i = $n++
|
is equivalent to
|
$i = $n; $n = $n+1
|
$i = -- $n
|
is equivalent to
|
$n=$n-1; $i = $n
|
$i = $n --
|
is equivalent to
|
$i = $n; $n = $n-1
|