Language

C Scripting Language
Reference Manual
Version 4.4.0

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using the CSL executive
Language
   Comments
   Numbers
   Literals
   Var and const
   Operators
   Statements and blocks
   Program flow
   Trace facility
   Exception handling
   Functions
   Predefined identifiers
Directives
System library
String library
Math library
Regular expression lib.
File library
Database library
Async Communication
Registry/Profile handling
Windows control
C API
C++ Class Interface
CSL links
  

The CSL language is very close to C. However there are differences; the most significant are:

  • The one and only variable type is var which (likely to REXX variables) my hold any number or string. No pointers, struct's and typedef's. (struct functionality is however possible by arrays)
     
  • No goto's.
     
  • Exception handling by try/catch/throw, fully interoperable with C++ ZException's. (Throw an exception in C++ and catch it in CSL or vice versa.
     
  • Dynamic array allocation and reallocation.

The differences are more detailed explained in the following sections.

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