var length array error

Ramon spam at thanks.no
Sun Sep 1 21:24:58 PDT 2013


Hi


struct Entry {...}
Entry[] table;

int main(string[] args)
{
    ...
    table.length++;
    ...
}


GDC -> Error: table.length is not an lvalue


Remark: The same code compiles (and works) with DMD.

What am I doing wrong?

Thanks - R


More information about the D.gnu mailing list