Keywords are reserved words that have special meanings within the language. They cannot be used as names for variables, constants or functions.
In addition to the operators, the following are keywords in CSL:
|
Keyword |
Usage |
|---|---|
|
select |
select expression |
|
set |
define a global variable |
|
const |
define a constant |
|
return |
return statement |
|
while |
while statement |
|
for |
for statement |
|
if |
if statement |
|
else |
if-else statement |
|
default |
select expression |
|
null |
null value |
|
in |
input context |
|
out |
output context |