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

     #include "extend.api"
     void _retnd(
                  double dNumber
                )

 Arguments

     dNumber is a numeric expression of type double.

 Returns

     _retnd() has no return value.

 Description

     _retnd() 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:

        _retnd( (double)3.14 );

     .  From Assembly language:

        EXTRN __retnd:FAR
              push  word ptr (MyPi+6)    ; push double number
                                         ; (creation of MyPi not shown)
              push  word ptr (MyPi+2)
              push  word ptr (MyPi+4)
              push  word ptr MyPi
              call  __retnd
              add   sp, 8                ; reset stack pointer

 Files  Library is CLIPPER.LIB, header file is Extend.api.


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