From: "Carlo E. Prelz" Date: 2013-03-07T15:57:44+09:00 Subject: Re: Numbers and groups. Subject: Re: Numbers and groups. Date: gio 07 mar 13 03:45:56 +0900 Quoting Andrew l. (lists@ruby-forum.com): > So you cannot convert 44523 or any other umber into an array or hash or > anything that changes that value into something that can have something > assigned to it? Of course you can use an integer as a key to a hash: irb(main):001:0> h={} => {} irb(main):002:0> h[44523]='a string' => "a string" irb(main):003:0> h[71234]='another string' => "another string" irb(main):004:0> h => {44523=>"a string", 71234=>"another string"} irb(main):005:0> h[44523] => "a string" Carlo -- * Se la Strada e la sua Virtu' non fossero state messe da parte, * K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe * di parlare tanto di amore e di rettitudine? (Chuang-Tzu)