basic.-=
Subtracts numeric expression and assigns to variable.
Syntax
variable -= num.expression
Description
decrements a variable by a numeric expression.
Example
x -= 1
Subtracts one from the variable, 'x' and assigns the result to
'x'.
total -= tax
This is equivalent to the statement:
total = total - tax
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
