From: Paul Lutus Date: 2006-12-15T08:00:08+09:00 Subject: Re: Hash/2-d array help! Just Maz wrote: > Ah! Thanks. Got it totally working now! > > One other minor thing- would it be possible for the the strings inside > 'France' => ['Rennes', 'Paris'] > to be variables instead? Yes, certainly. You can easily create an array containing variables instead of literal strings. > Off the top of my head I think there may be some sort of symbol you'd > put before nation to show it is a actual stored string but I can't > remember what it was... Not in Ruby. Ruby doesn't have characters in variable names that give away their type. -- Paul Lutus http://www.arachnoid.com