[<<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.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson