|
Forecasting & Planning Solutions
|
|
|
|
|
|
  
Increment
Format: ++x
x++
Arguments: (node) x Name of an existing node, variable, object property, or list element
Returns: (num) x++ returns the value of x
++x returns the value of x plus one
Description: Both x++ and ++x increment the value of x by one. x++ returns the value of x before it was incremented while ++x returns the value after it is incremented.
Examples: var x=5; = x = 5
y=x++ = x = 6 and y = 5
var x=5; = x = 5
y=++x = x = 6 and y = 6
See Also: Decrement, Add
|
|
Contact Us
| Phone: | +1 919-859-4101 |
| Web: | www.vanguardsw.com |
| Email: | info@vanguardsw.com |
© 2008 Vanguard Software Corporation. All rights reserved.
|
|
|
|