[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _storni()
 Assign a numeric value to a referenced variable using an int
------------------------------------------------------------------------------

 C Prototype

     #include "Extend.h"
     int _storni(int n, int paramNum [, int arrayIndex])

 Arguments

     n is a numeric expression of type int.

     paramNum is the position in the parameter list of the parameter to
     be assigned.

     arrayIndex is an array index to specify a particular element if the
     indicated 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 Clipper variable passed by
     reference as a parameter from Clipper.  If the parameter specified by
     paramNum is not a Clipper variable 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       ; paramNum
       mov   ax, 123
       push  ax       ; paramNum
       call  __storni
       add   sp, 4    ; reset stack pointer

 Files:  Library is CLIPPER.LIB, header file is Extend.h.

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