Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . The Guide To CA-Clippe - <b>word()*</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 WORD()*
 Convert CALL command numeric parameters from double to int
------------------------------------------------------------------------------
 Syntax


     WORD(<nNumber>) --> NIL

 Arguments

     <nNumber> is the numeric value to convert to int specified in the
     range of plus or minus 32,767, inclusive.

 Returns

     Used as an argument for the CALL command, WORD() returns an integer.  In
     all other contexts, it returns NIL.

 Description

     WORD() is a numeric conversion function that converts numeric parameters
     of the CALL command from double to integer values.  WORD() is a
     compatibility command and therefore not recommended.  Both the CALL
     command and the WORD() function are superseded by facilities provided by
     the Extend System.  Refer to the Using the Extend System chapter in the
     Technical Reference guide for more information.

 Examples

     .  This example uses WORD() as an argument of the CALL command:

        CALL Cproc WITH WORD(30000), "Some text"

 Files:  Library is CLIPPER.LIB.


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