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

 C Prototype

     #include "Extend.h"
     void _retni(int n)

 Arguments

     n is a numeric expression of type int.

 Returns

     _retni() has no return value.

 Description

     _retni() is used to post a numeric value into Clipper's return value
     area.  Later, when your C or Assembly language function returns control
     to the calling Clipper program, the posted return value will be
     available as the Clipper return value from your C or Assembly language
     function.

 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.h.

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