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 . Technical Reference - <b>_parnl()</b> http://www.X-Hacker.org [<<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()

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