I have a hash that looks like: { number => {somethings in here} }
Now I need to get at number, not what it references. Tx. H On Thu, 2003-06-12 at 14:22, Charles K. Clarkson wrote: > Hamish Whittal <[EMAIL PROTECTED]> wrote: > : > : I have a hash and want to return the first key in > : the hash. How can I do this? > > You can't. The keys of a hash are unordered. > there is no first key (or second key, or lastkey, > etc.) To get a "first key", you'll have to define > what a "first key" is. Show us what you're > working on and we can help you find a solution. > > > HTH, > > Charles K. Clarkson > -- > Head Bottle Washer, > Clarkson Energy Homes, Inc. > Mobile Home Specialists > 254 968-8328 -- You are not defined by what loves you, but what you love - Nicholas Cage (Adaptation, 2003) --- Hamish Whittal QED Technologies cc +27 82 803 5533 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]