Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_isprime()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_ISPRIME()


Syntax:        L_ISPRIME(expN)


Purpose:       To determine whether a specified number is prime.


Arguments:     <expN> is the number whose primacy is to be tested.


Returns:       A logical (.T.) if the number is prime else returns a
               logical (.F.).



Examples:      ? L_ISPRIME(8)                   && Result: .F.
               ? L_ISPRIME(17)                  && Result: .T.


Language:      C

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson