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>_retni()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _retni()
 Post a numeric return value using an int type
------------------------------------------------------------------------------
 C Prototype

     #include "extend.api"
     void _retni(
                  int iNumber
                )

 Arguments

     iNumber is a numeric expression of type int.

 Returns

     _retni() has no return value.

 Description

     _retni() posts a numeric value into CA-Clipper's return value area.
     When your Extend routine returns control to the calling CA-Clipper
     program, the posted value becomes the CA-Clipper return value of your
     Extend routine.

 Examples

     .  From C:

        _retni(99);

     .  From Assembly language:

        EXTRN __retni:FAR
              mov   ax, 99
              push  ax
              call  __retni
              add   sp, 2               ; reset stack pointer

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


See Also: _parni() _retnd() _retnl() _storni()

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