Skip to content

Instantly share code, notes, and snippets.

@Bradshaw
Created July 16, 2013 15:04
Show Gist options
  • Save Bradshaw/6009550 to your computer and use it in GitHub Desktop.
Save Bradshaw/6009550 to your computer and use it in GitHub Desktop.
For Jan
[pts/1]-[Who is John Galt?]
[Catalepsy approves]-[JanTest] cat Main.hx
class Main
{
public static function main()
{
var args = Sys.args();
trace(args.length);
trace(args);
}
}
/*
-main Main
-x Main
*/
[pts/1]-[Please go away.]
[Catalepsy approves]-[JanTest] haxe -x Main
Main.hx:7: 0
Main.hx:8: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment