ZCslVarSizeof

C Scripting Language
Reference Manual
Version 4.4.0

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using the CSL executive
Language
Directives
System library
String library
Math library
Regular expression lib.
File library
Database library
Async Communication
Registry/Profile handling
Windows control
C API
   Embedding CSL
   Writing libraries
   API reference
      ZCslAddFunc
      ZCslAddVar
      ZCslCall
      ZCslCallEx
      ZCslClose
      ZCslGet
      ZCslGetError
      ZCslGetResult
      ZCslLoadLibrary
      ZCslLoadScriptFile
      ZCslLoadScriptMem
      ZCslOpen
      ZCslSet
      ZCslSetError
      ZCslSetResult
      ZCslSetTraceMode
      ZCslShow
      ZCslStartDateTime
      ZCslTrace
      ZCslTraceMode
      ZCslVarExists
      ZCslVarResize
      ZCslVarSizeof
C++ Class Interface
CSL links
  
long ZCslVarSizeof(           /* get size of variable */
   ZCslHandle aHandle,           /* CSL handle */
   const char *aVarName,         /* name of variable */
   long *aSize                   /* buffer for size */
);

Get size of any local variable or constant (like sizeof operator)

Example:

/* how big is list? */
long errs, size;
errs = ZCslVarSizeof(csl, "list", &size);
if (errs) .... /* error handling */
  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>