An increment or decrement operator is a programming construct that changes the value of a variable within an expression. (In a sense, they combine a simplified arithmetic operator with an assignment operator.) In NWScript, there is one increment operator, ++, and one decrement operator, −−, both of which share the same principles of use. int x = 10; int y = ++x; int x = 10; int y = x++; causes the value 10 to be assigned to y, then the value of x is increased to 11. nCount++;
| Graph IRI | Count |
|---|---|
| http://dbkwik.webdatacommons.org | 4 |