
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Technical Reference - <b>_storni()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_storni()
Assign a numeric value to a referenced variable using an int type
------------------------------------------------------------------------------
C Prototype
#include "extend.api"
int _storni(
int iNumber,
int iParamNum
[, int iArrayIndex]
)
Arguments
iNumber is a numeric expression of type int type.
iParamNum is the one-based ordinal position in the parameter list of
the parameter to be assigned.
iArrayIndex is an array index that specifies a particular element if
the iParamNum parameter is an array.
Returns
_storni() returns one if the function is successful; otherwise, it
returns zero.
Description
_storni() stores a numeric value to a variable passed by reference as a
parameter from CA-Clipper. If the parameter specified by iParamNum is
not passed by reference, _storni() ignores the call and returns a value
of zero.
Examples
. From C:
_storni( 123, 1 );
. From Assembly language:
EXTRN __storni:FAR
mov ax, 1
push ax ; iParamNum
mov ax, 123
push ax ; iNumber
call __storni
add sp, 4 ; reset stack pointer
Files: Library is CLIPPER.LIB, header file is Extend.api.
See Also: _parni() _retni() _stornd() _stornl()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson