[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _parnl()
 Retrieve a numeric parameter as a long
------------------------------------------------------------------------------
 C Prototype

     #include "extend.api"
     long _parnl(
                  int iParamNum
                  [, int iArrayIndex]
                )

 Arguments

     iParamNum is the one-based ordinal position of the parameter in the
     parameter list.

     iArrayIndex is an array index that specifies a particular element if
     the iParamNum parameter is an array.

 Returns

     _parnl() returns the value of the specified parameter as a long.

 Description

     _parnl() retrieves a numeric value passed as a parameter from CA-Clipper
     and converts it to a long.

 Examples

     .  From C:

        long num;
        long = _parnl(1);

     .  From Assembly language:

        EXTRN __parnl:FAR
              mov   ax, 1
              push  ax
              call  __parnl         ; value returned in DX:AX
              add   sp, 2           ; reset stack pointer

 Files  Library is CLIPPER.LIB, header file is Extend.api.


See Also: _parnd() _parni() _retnl() _stornl()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson