Re: Case Sensitive Structures

2004-12-03 Thread S . Isaac Dealey
> Does anyone know of a way to get the key from a structure > with the case used to create that key? > For example, if a key was set as myStruct["myKey"], does > anyone know how to determine that the key was "myKey" (as > opposed to "MYKEY")? > Any help would be appreciated. > Thanks! > Steve B

Re: Case Sensitive Structures

2004-12-03 Thread Barney Boisvert
There isn't a way. However, if you assign the keys using the struct["keyName"] format (rather than struct.keyName) then case will be preserved. Alternately, you can use a java.util.HashMap instead of a structure. You can't treat it as a structure, you have to use the java methods, but it is case

Case Sensitive Structures

2004-12-03 Thread Steve Bryant
Does anyone know of a way to get the key from a structure with the case used to create that key? For example, if a key was set as myStruct["myKey"], does anyone know how to determine that the key was "myKey" (as opposed to "MYKEY")? Any help would be appreciated. Thanks! Steve Bryant Bryant W