basic.-= Assignment Operator/BASIC Program
basic.-=
| Command | basic.-= Assignment Operator/BASIC Program Applicable release versions: AP 5.2.5 |
|---|---|
| Category | BASIC Program (486) |
| Description | decrements a variable by a numeric expression. |
| Syntax | variable -= num.expression |
| Options | |
| 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 |
| Purpose | |
| Related |
basic.+ basic.- basic.precision basic.sum basic./= basic.operators basic.arithmetic.expressions basic.:= basic.num.expression basic.precedence basic.= basic.assignment arithmetic.operators basic.*= basic.+= basic.*.multiply |
