
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Technical Reference - <b>_retnl()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_retnl()
Post a numeric return value using a long
------------------------------------------------------------------------------
C Prototype
#include "extend.api"
void _retnl(
long lNumber
)
Arguments
lNumber is a numeric expression of type long.
Returns
_retnl() has no return value.
Description
_retnl() 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:
_retnl(1234567689L);
. From Assembly language:
EXTRN __retni:FAR
mov dx, 1883
mov ax, 52501
push dx ; push hi-order first
push ax
call __retnl
add sp, 4 ; reset stack pointer
Files: Library is CLIPPER.LIB, header file is Extend.api.
See Also: _parnl() _retnd() _retni() _stornl()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson