let counter = 0 while compare $counter <= 1000 { println $counter counter = (math 1 + $counter) }