View Single Post
  #1  
Old 08-10-2007, 07:44 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
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.
__________________