Earlier, I wrote: > > For Each p In Primes.UpTo(n) > ...real code here... > Next p <snip> > > I think something very similar can be done in Ruby, and the > implementation of "UpTo" would not be as bulky as the VB equivalent.
It seems I might be wrong, or at least, I don't know how to go about this in Ruby. I will give this another try tomorrow, but any Ruby experts who are able to shed light on this can feel free to jump in now. Adelle. _______________________________________________ coders mailing list [email protected] http://lists.slug.org.au/listinfo/coders
