ZCslLoadScriptFile

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 ZCslLoadScriptFile(      /* load script from file */
   ZCslHandle aHandle,           /* CSL handle */
   const char *aFileName         /* file name to load script */
);

Compiles/loads a script from a file. If the file name is given without extension, .csl is appended. The file is searched in the directories listed in environment variable CSLPATH. If CSLPATH does not exist, the file is searched in the current working directory.

NOTE: CSL will not load the same file/module several times; attempt to do so will be silently ignored.

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