From: "zubair a." Date: 2012-12-08T14:05:33+09:00 Subject: if n belongs to set a and m belongs to set b repeat some steps, How? We can do so in java and similar languages like: for (int i=0, int j=3; i<=2 && j<=5;i++,j++){ do some repetive task until the condition becomes false... } how to keep these two conditions based on two different sets(suppose two arrays whose indexes can be used as i and j) in condition block?? some working code would be greatly appreciated..thanks in advance.. -- Posted via http://www.ruby-forum.com/.