- Identifier
-
An identifier is a name used to identify a variable or a function.
Identifiers start with letters A to Z (or a to z) followed by any number of letters, underscores, points and digits (0 to 9).
Identifiers can't include punctuation characters such as @, $, and %.
Identifiers are not case-sensitive.
- Keywords (alphabetically)
-
- #INCLUDE
-
Reserved for future use.
- #INCLUDE_ONCE
-
Reserved for future use.
- #PRAGMA
-
Reserved for future use.
- AND
-
A logical operator.
- BREAK
-
A part of the SWITCH statement.
- CASE
-
A part of the SWITCH statement.
- CONTINUE
-
A part of the FOR statement.
- DEFAULT
-
A part of the SWITCH statement.
- DO
-
Reserved for future use.
- ELSE
-
A part of the IF statement.
- FALSE
-
A logical constant.
- FOR
-
A loop.
- FUNCTION
-
A function definition.
- GLOBAL
-
A global variable scope declaration.
- IF
-
A conditional statement.
- IIF
-
A conditional statement.
- INF
-
Inf and -Inf are positive and negative “infinity” whereas NaN means “Not a Number”.
- LOCAL
-
A local variable scope declaration.
- NA
-
“Not Available” usually used for missing values.
- NaN
-
“Not a Number”
- NOCACHE
-
Reserved for future use.
- NOT
-
A logical operator.
- NULL
-
Denotes undefined values.
- OR
-
A logical operator.
- PROCEDURE
-
A definition of function which does not return any value.
- RETURN
-
Returns a value from functions.
- SWITCH
-
A control structure.
- TRUE
-
A logical constant.
- WHILE
-
Reserved for future use.
- Constants
-
- Number
-
Integer: 100
Real number: 1.1 or 1.2e+3
- String
-
“This is a string.”
- Logical
-
TRUE (or 1), FALSE (or 0)
- Variables
-
A variable is a storage location labelled by an identifier.
In Seetu, almost all variables are arrays of values associated with invisible date-time fields (bars).
- Comments
-
- Block comments
-
Block comments, start with /* and end with */, they may span across multiple lines.
- End-of-line comments
-
End-of-line comments start with // and extend to the end of the current line./