Convert CALL command numeric parameters from double to integer values

     WORD(<nNumber>) --> NIL


     <nNumber> is the numeric value to be converted to an integer
     specified in the range of plus or minus 32,767, inclusive.


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


     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.


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

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

 Files   Library is CLIPPER.LIB.


One response to “C5_WORD

  1. Pingback: C5 Flow Control | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.