summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohn Gabriele <jgabriele@fastmail.fm>2019-09-29 23:21:42 -0400
committerGitHub <noreply@github.com>2019-09-29 23:21:42 -0400
commita8d9e066eae5f48b27c93df3d0bbb53cd232a63a (patch)
tree074da62437d0bdf646890cf8016bb03df41e7bfc
parent5129c2acd17f8f548d2f5b9c514387e60f7d8c1e (diff)
decrements too
-rw-r--r--haxe.html.markdown5
1 files changed, 2 insertions, 3 deletions
diff --git a/haxe.html.markdown b/haxe.html.markdown
index 6a50b88b..05fa59bf 100644
--- a/haxe.html.markdown
+++ b/haxe.html.markdown
@@ -234,10 +234,9 @@ class LearnHaxe3 {
^ Bitwise exclusive OR
| Bitwise inclusive OR
*/
-
- // increments
+
var i = 0;
- trace("Increments and decrements");
+ trace("Pre-/Post- Increments and Decrements");
trace(i++); // i = 1. Post-Increment
trace(++i); // i = 2. Pre-Increment
trace(i--); // i = 1. Post-Decrement