virt2/assets/vendor_plugins/ace-builds-master/demo/kitchen-sink/docs/Haxe.hx

17 lines
447 B
Haxe
Raw Permalink Normal View History

class Haxe
{
public static function main()
{
// Say Hello!
var greeting:String = "Hello World";
trace(greeting);
var targets:Array<String> = ["Flash","Javascript","PHP","Neko","C++","iOS","Android","webOS"];
trace("Haxe is a great language that can target:");
for (target in targets)
{
trace (" - " + target);
}
trace("And many more!");
}
}