class Main {
static public function main():Void {
var name = "Joan";
trace("Hello World");
trace('Hello $name');
}
}
<?php
class Main {
public function __construct(){}
static function main() {
$name = "Joan";
haxe_Log::trace("Hello World", _hx_anonymous(array("fileName" => "Main.hx", "lineNumber" => 6, "className" => "Main", "methodName" => "main")));
haxe_Log::trace("Hello " . _hx_string_or_null($name), _hx_anonymous(array("fileName" => "Main.hx", "lineNumber" => 7, "className" => "Main", "methodName" => "main")));
}
function __toString() { return 'Main'; }
}
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.