I am getting a syntax error of Unexpected '(' from the following code:

object o = Stdio.File("filepath", "wct+");

if(o)
{
    o->write("foo");

    o->close();
}

the syntax error comes from the o->write("foo"); line.
I have tried multiple variations of this and nothing works. Although in Hilfe it works. If I change it from write to Write it also compiles but then it does not write the data. I am currently running 7.6.50.


Yahoo! Photos
Got holiday prints? See all the ways to get quality prints in your hands ASAP.