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