| Syntax |
|
| Documentation | Adds the specified decimal value and the value of the named local variable:
decimal_value, an optional parameter that defaults to 1 and represents the incrementation amount of the local variables value.
an java.lang.NumberFormatException if 'decimal_value' is not a numeric decimal value. |
| Examples | |
The following expression increments the local variable named 'value'
$incLocal{value} } $if{$existsLocal{value}}
$set{value}{$add{$get{value}}{-1}} } $if{$existsLocal{value}}
$set{value}{$inc{$get{value}}} }
$incLocal{value}{7} } $if{$existsLocal{value}}
$set{value}{$add{$get{value}}{-7}} } $if{$existsLocal{value}}
$for{$set{counter}{0}}{$less{counter}{7}}{$incLocal{counter}}
$set{value}{$inc{$get{value}}} } |
|
| Group | Math |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 1 |
| Maximum parameters | 2 |