keySet
Keys of a structure array or a Java Hashtable or HashMap.
(u)=keySet(a)
Inputs
a A structure array or a Java Hashtable or HashMap.
Outputs
u The collection of keys of the input object.


Example
>>a=new Hashtable()
>>a.x=2
>>a.y=10
>>a.z=98
>>a.w=100
>>for(x:keySet(a))
      >x,NL
      >end
x
w
z
y
>>// Structure array
>>a=struct("x",rand(2,3),"y",rand(3,4),"z",rand(10,1))
>>for(x:keySet(a))
      >x,NL
      >end
x
z
y