Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>_parcsiz()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _parcsiz()
 Retrieve the memory allocated for character parameters passed by reference
------------------------------------------------------------------------------
 C Prototype

     #include "extend.api"
     unsigned int _parcsiz(
                            int iParamNum
                            [, int iArrayIndex]
                          )

 Arguments

     iParamNum is the one-based ordinal position of the parameter in the
     parameter list.

     iArrayIndex is an array index that specifies a particular element if
     the iParamNum parameter is an array.

 Returns

     _parcsiz() returns the number of bytes of memory allocated for the
     specified parameter, including its null terminator.

 Description

     _parcsiz() is included for compatibility with previous releases of
     CA-Clipper.  It is not designed to work with STATIC and LOCAL variables,
     and its use is not recommended.

     Warning!  Obsolete items are not in keeping with the current
     CA-Clipper programming philosophy, and we strongly discourage their use
     as they may not be supported in future releases of CA-Clipper.

 Examples

     .  From C:

        unsigned int len;
        len = _parcsiz(1);

     .  From Assembly language:

        EXTRN __parclen:FAR
              mov   ax, 1
              push  ax
              call  __parcsiz         ; length returned in AX
              add   sp, 2             ; reset stack pointer

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


See Also: _parclen()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson