KCssSet

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

Set value of any CSS global or local variable.

Example:

long errs;
errs = KCssSet(css, "adr[5][2]", "Fred Flintstone", -1);
if (errs) .... // error handling
 Copyright © IBK LandquartLast revised by Peter Koch, 24.02.00<< Back  Top  Next >>