
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Technical Reference - <b>_retl()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_retl()
Post a logical return value
------------------------------------------------------------------------------
C Prototype
#include "extend.api"
void _retl(
int iLogical
)
Arguments
iLogical is an int type that represents the logical value to be
returned. A value of zero is interpreted as false (.F.). Any other
value is interpreted as true (.T.).
Returns
_retl() has no return value.
Description
_retl() posts a logical 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:
_retl(1);
. From Assembly language:
EXTRN __retl:FAR
mov ax, 1
push ax
call __retl
add sp, 2 ; reset stack pointer
Files: Library is CLIPPER.LIB, header file is Extend.api.
See Also: _parl() _storl()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson