On 2 September 2013 07:01, Iain Buclaw wrote:
> On 2 September 2013 05:24, Ramon wrote:
>> Hi
>>
>>
>> struct Entry {...}
>> Entry[] table;
>>
>> int main(string[] args)
>> {
>>...
>>table.length++;
>>...
>> }
>>
>>
>> GDC -> Error: table.length is not an lvalue
>>
>>
>> Remark: The s
On 2 September 2013 05:24, Ramon wrote:
> 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?
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