New code:

class Main
{
    public function new()
    {

    }

    public static function main(){
        var name = Sys.args()[0];
        trace("Hello" + name);
        trace("Your name is " + Std.string(name.length) + " characters long.");

    }
}

The original code:

class Main
{
    public function new()
    {

    }

    public static function main(){
        var name = neko.Sys.args()[0];
        trace("Hello" + name);
        trace("Your name is " + Std.string(name.length) + " characters long.");

    }
}

发表评论

电子邮件地址不会被公开。 必填项已用*标注