Mathieu Bouchard wrote:
On Thu, 10 Jan 2008, IOhannes m zmoelnig wrote:
if it does, than afaik the _only_ language that has a "counter" built-in is max/msp.
10 FOR X=1 TO 100 20 PRINT "WHAT ABOUT BASIC?" 30 NEXT X
this is not a built-in counter, this is how you would write a simple counter in basic. apart from that, it does not fulfil the marius' requirement of doing "more than just adding numbers." (true, it does print out something in each iteration; but then, a counter that does not do anything but increment an accumulator would be of _very_ limited use (--> HQ9+)
(1..100).each {|x| puts "and then what about Ruby?" }
same as above.
gmasdr IOhannes