ZCslAddVar

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 ZCslAddVar(             /* add a local var/const */
   ZCslHandle aHandle,          /* CSL handle */
   const char *aVarName,        /* name and layout of var/const */
   const char *aInitVal,        /* initial value */
   long aIsConst                /* 0=var, 1=const */
);

Adds a local var or const within a C/C++ function implementation.

aInitVal may be NULL if var/const ought to be initialized to an empty string.

NOTE: Can NOT be used to add globals. To add a global var or const you may compile a script with it's declaration.

  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>