- (negation) \ Language (API) \ Wiring ALPHA 1.0
Author: Hernando Barragán
Description: Wiring is an electronic sketchbook and hardware electronics for developing ideas. It is a context for learning fundamentals of computer programming and prototyping with electronics within the context of the electronic arts.
Keywords: Wiring, Processing, Interactive Media, Electronic Arts, Programming, C, C++, Hernando Barragán

Search wiring.org.co:

Reference for Wiring version 0023+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name | ### - (negation)
Examples |
    int a = 5;         // Sets "a" to 5
    int b = -a;        // Sets "b" to -5
    int c = -(5 + 3);  // Sets "c" to -8
Description | Reverses the sign of the value. Equivalent to multiplying by -1. For example, -5 is the same as 5 * -1.
Syntax |
    -value
Parameters |
value | int or float
Usage | Application
Related | - (subtract)

Updated on November 01, 2009 12:49:15pm PST