@ref 'System.Core'
use System.Linq
class PrintRange
def main
for i in Enumerable.range(1, 10)
print i
You can check with "cobra -version" and look at the number after "CLR". On Mac, mine is currently:
Cobra svn:2784 (post 0.8) / 2012-08-18 on Mono 2.10.9 CLR v4.0.30319 on Mac OS X 10.6.8