From: ts Date: 2000-08-21T23:47:15+09:00 Subject: [ruby-talk:4528] Re: for and multiple assignment? >>>>> "H" == Hugh Sasse Staff Elec Eng writes: H> Ruby already has mutiple assignment. Would it be possible to extend H> for to allow multiple things to be selected at once? Something like this ? pigeon% cat b.rb #!/usr/bin/ruby a = [[1, 2], [3, 4]] for p1, p2 in a p "#{p1}, #{p2}" end pigeon% b.rb "1, 2" "3, 4" pigeon% Guy Decoux