Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | - (minus) |
||||
|---|---|---|---|---|---|
| Examples | Ganzizahl c = 50 - 5; // Sets c to 45 Ganzizahl d = c - 5; // Sets d to 40 Ganzizahl e = d - 60; // Sets e to -20 Ganzizahl a = 5; // Sets "a" to 5 Ganzizahl b = -a; // Sets "b" to -5 Ganzizahl c = -(5 + 3); // Sets "c" to -8 |
||||
| Description | Subtracts one value from another and may also be used to negate a value. As a subtraction operator, the value of the second parameter is subtracted from the first. For example, 5 - 3 yields the number 2. As a negation operator, it is equivalent to multiplying a number by -1. For example, -5 is the same as 5 * -1. | ||||
| Syntax | -value1value1 - value2 |
||||
| Parameters |
|
||||
| Usage | Web & Application | ||||
| Related | immereisweniger -= (subtract assign) + (add) |

