[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
_storni()
Assign a numeric value to a referenced variable using an integer
------------------------------------------------------------------------------
C Prototype
#include "extend.api"
int _storni(
int iNumber,
int iParamNum
[, int iArrayIndex]
)
Arguments
iNumber is a numeric expression of type integer.
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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson