I try to use variant as associative array with dmd2.039,
Variant[char[]][int] aa;
aa[0]["Month"] = "Jan";
aa[0]["Profit"] = 500;
aa[1]["Month"] = "Feb";
aa[1]["Profit"] = 800;
I got core.exception.rangeer...@main(28): Range violation
I'm doing something wrong ? Or it's same problem as :
http://d
>
> The buffer you are passing to receive is 0 bytes long. The
> std.socket.Socket.receive function is a wrapper over the normal socket
> function, and includes a test for an empty buffer.
>
> Daniel
Ohh, I see. Thank you!
I thought that the function would resize the buffer accordingly. Than