
08-10-2007, 07:44 AM
|
|
Incubator
|
 |
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
|
|
Named Array Indexes
|
I'm sure most scripters should know of that array format used when saving object variables to array.
array = {"var1=value1", "var2=value2", "var3=value3", "var4=value4"};
Was wondering if a little feature could be added where if you did:
array["var2"] = "newvalue";
It would correctly replace the proper index with the new value after the equal sign. They would also be read in the same manner. |
|
|
|