From: Daniel Schierbeck Date: 2005-09-12T03:01:33+09:00 Subject: Array#[]= I'm writing a class representing a coordinate system, and I want to be able to give a point in the system a value (eg. a label). The problem is that the system can have a variable number of dimensions. If it just had three, I could write: def []= (x, y, z, value); end But this being an N-dimensional coordinate system, I have to come up with something else. The most logical solution to me is this: def[]= (*coordinates, value); end But this gives a syntax error. Am I way off base, or would it be useful if variable length argument lists could be written this way? Daniel