Hmmm...Perl is probably a bad example.  My apologies. 
I was thinking more along the lines of this:

A C++ for loop:

#include <iostream>

using std::cout;

int main() {
        
        for (int i = 0; i < 10; i++) {
                cout << i << "\n";
        }
        
        return 0; 
}


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to