1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-13 18:24:39 +02:00

Merge pull request #3634 from uvtc/patch-1

[Haxe/en] general-purpose, not specifically web-oriented
This commit is contained in:
Divay Prakash
2019-11-24 11:40:25 +05:30
committed by GitHub

View File

@@ -6,8 +6,8 @@ contributors:
- ["Dan Korostelev", "https://github.com/nadako/"] - ["Dan Korostelev", "https://github.com/nadako/"]
--- ---
Haxe is a web-oriented language that provides platform support for C++, C#, [Haxe](https://haxe.org/) is a general-purpose language that provides platform support for C++, C#,
Swf/ActionScript, Javascript, Java, PHP, Python, Lua, HashLink, and Neko byte code Swf/ActionScript, JavaScript, Java, PHP, Python, Lua, HashLink, and Neko bytecode
(the latter two being also written by the Haxe author). Note that this guide is for (the latter two being also written by the Haxe author). Note that this guide is for
Haxe version 3. Some of the guide may be applicable to older versions, but it is Haxe version 3. Some of the guide may be applicable to older versions, but it is
recommended to use other references. recommended to use other references.
@@ -235,9 +235,8 @@ class LearnHaxe3 {
| Bitwise inclusive OR | Bitwise inclusive OR
*/ */
// increments
var i = 0; var i = 0;
trace("Increments and decrements"); trace("Pre-/Post- Increments and Decrements");
trace(i++); // i = 1. Post-Increment trace(i++); // i = 1. Post-Increment
trace(++i); // i = 2. Pre-Increment trace(++i); // i = 2. Pre-Increment
trace(i--); // i = 1. Post-Decrement trace(i--); // i = 1. Post-Decrement
@@ -701,7 +700,6 @@ class UsingExample {
static method. static method.
*/ */
} }
} }
``` ```