You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
447 B
Haxe
17 lines
447 B
Haxe
10 years ago
|
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!");
|
||
|
}
|
||
|
}
|