try a 'one liner' directly in SU's Ruby Console...

for count1 in 0..5; print count1, " "; end

I think the errors are caused by RubyConsolePro rather than the snippet...

on a PC, SU's Ruby Console has only recently accepted 'multiline' input...

Mat always saves the snippets as files and loads those...

john