GENPRMNBR -- Generate Prime Numbers |
---|
The Generate Prime Numbers command writes one record per prime number to the PRIMEP file. Each number is 7 digits in a packed field named PRIME. A range of prime numbers may be generated from 2 to 9,999,999. Prime numbers may be helpful in different applications. The algorithm used is a modified Sieve of Eratosthenes. The model outfile is TAANBREP with a format name of PRIMER. |
For the full documentation, click here.
Added to TAA Productivity tools January 1, 2008