http://d.puremagic.com/issues/show_bug.cgi?id=2613


s...@iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |s...@iname.com




------- Comment #1 from s...@iname.com  2009-01-25 16:25 -------
Wrong again.  It should be fixed to use writefln, in both the D1 and D2
packages.  And probably have args declared as string[] rather than char[][].

----------
import std.stdio;

int main(string[] args)
{
    writefln("hello world");
    writefln("args.length = %d", args.length);
    for (int i = 0; i < args.length; i++)
        writefln("args[%d] = '%s'", i, args[i]);
    return 0;
}
----------


-- 

Reply via email to