On Thu, Nov 04, 2004 at 11:58:35PM -0700, Steve Meyers wrote:
> Michael Halcrow wrote:
> >>for (n=0; n<10; n++) {
> >> cout << n << endl;
> >>}
> >>
> >let rec t lst x = match x with 0 -> 0::lst | y -> (t (y::lst) (y-1)) in
> >List.map (function x -> print_string ((string_of_int x)^"\n")) (t [] 9)
>
> 10 FOR N = 0 TO 9
> 20 PRINT N
> 30 NEXT N
Iterators are for the weak.
Mike
.___________________________________________________________________.
Michael A. Halcrow
Security Software Engineer, IBM Linux Technology Center
GnuPG Fingerprint: 05B5 08A8 713A 64C1 D35D 2371 2D3C FDDA 3EB6 601D
Copyright is nothing more than a temporary loan from the public
domain.
pgpDx07yIbsYq.pgp
Description: PGP signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
