Literals

C Styled Script
Reference Manual

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using The CSS Executive
Language
   Comments
   Literals
   Var And Const
   Operators
   Statements And blocks
   Program Flow
   Exception Handling
   Functions
   Predefined Identifiers
Directives
System Library
String Library
Regular Expression Lib.
File Library
Database Library
C API
C++ API
CSS Links
  

String literals may be enclosed in single or double quotes:

'sandra bullock'
"bruce willis"

Several consecutive literals are concatenated to a single string:

"john's" ' car'

evaluates to exaclty the same as

"john's car"

Literals must end before the end of line, so use the concatination feature for long literals having to be spread over several lines.

Special characters are introduced by a backslash:

Written Description
\e escape (ESC)
\t horizontal tab (HT)
\r carriage return (CR)
\n newline/line feed (LF)
\f form feed (FF)
\\ backslash (\)
\' single quote (')
\" double quote (")
\ooo octal character code (o standing for octal digits 0...7)
\xhh hex character code (h standing for digits 0...9 and a..f)
 Copyright © IBK LandquartLast revised by Peter Koch, 24.02.00<< Back  Top  Next >>