Consider the following for loop in 'C' or 'c++' or 'java'

          for (i=namespaceEnd - 1; i >= 0; i--)

Please help me with code to do the same functionality in ruby
-- 
Posted via http://www.ruby-forum.com/.