in reply to Re: Newbie Question on pushing Arrays
in thread Newbie Question on pushing Arrays

Good idea, if you do this approach, make sure you add 2 to @primes in the last step, since the loop iteration automatically avoids even numbers
Desert coder
  • Comment on Re: Re: Newbie Question on pushing Arrays

Replies are listed 'Best First'.
Re: Re: Re: Newbie Question on pushing Arrays
by no_slogan (Deacon) on May 04, 2001 at 22:24 UTC
    ... but @primes is initialized to (2) in the beginning.