Hi Friends.
My first Code :
-----------------
q = 1
w = 2
while q < w
  s1 = 1
  puts s1
  q += 1
end
-----------------

My last code :
-----------------
q = 1
w = 2
while q < w
  s[q] = 1
  puts s[q]
  q += 1
end
-----------------

 Why does not work ?
-- 
Posted via http://www.ruby-forum.com/.