Open utterances-bot opened 2 years ago
Just an alternate method that may look more familiar to those coming from C, C++, Java ...
Sys.println
will print a new line as where Sys.print
will not
class HelloWorld {
static public function main():Void {
Sys.println("Hello World");
}
}
Hello world - Beginner - Haxe programming language cookbook
This tutorial demonstrates how to write and compile a Hello World Haxe program. It explains the involved file-format (.hx) and gives a basic explanation of what the Haxe Compiler does with them.
https://code.haxe.org/category/beginner/hello-world.html