KCssVarSizeof

C Styled Script
Reference Manual

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using The CSS Executive
Language
Directives
System Library
String Library
Regular Expression Lib.
File Library
Database Library
C API
   Embedding CSS
   Writing Libraries
   API Reference
      KCssAddFunc
      KCssCall
      KCssClose
      KCssEnableTrace
      KCssGet
      KCssGetError
      KCssGetResult
      KCssIsTrace
      KCssLoadLibrary
      KCssLoadScriptFile
      KCssLoadScriptMem
      KCssOpen
      KCssSet
      KCssSetError
      KCssSetResult
      KCssShow
      KCssStartDate
      KCssStartTime
      KCssVarResize
      KCssVarSizeof
C++ API
CSS Links
  
long KCssAPI KCssVarSizeof(              /* get size of variable */
   KCssHandle aHandle,                      /* CSS 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 = KCssVarSizeof(css, "list", &size);
if (errs) .... // error handling
 Copyright © IBK LandquartLast revised by Peter Koch, 24.02.00<< Back  Top  Next >>