[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _retni()
 Post a numeric return value using an integer
------------------------------------------------------------------------------
 C Prototype

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

 Arguments

     iNumber is a numeric expression of integer (type).

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