From: Robert Klemme Date: 2012-03-27T19:39:45+09:00 Subject: Re: sort array of strings with integers Jan E. wrote in post #1053507: > Robert Klemme wrote in post #1053503: >> The code is syntactically valid. And if all a1, a2 etc. are local >> variables or methods then this code will even execute properly. > > There are no commas, which doesn't work for normal array literals. Also > the question wouldn't make sense if a1, a2, ... were local variables or > methods. You got me. Right you are. Sorry for the noise. Cheers robert -- Posted via http://www.ruby-forum.com/.