ZCslSet

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 ZCslSet(                         /* set var or const value */
   ZCslHandle aHandle,                      /* CSL handle */
   const char *aVarName,                    /* variable name */
   const char *aValue,                      /* new value (NULL = "") */
   long aSize                               /* value size, -1 = ASCIZ */
);

Set value of any CSL global or local variable.

Example:

long errs;
errs = ZCslSet(csl, "adr[5][2]", "Fred Flintstone", -1);
if (errs) .... /* error handling */
  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>