Next: Operators
Up: Expressions
Previous: Variables
The following documented types are used in the TSF language:
-
integer
- - The integer values have an infinite precision.
-
real
- - The real values are coded by a single precision variable.
-
string
- - The constant strings are bounded by the character ".
-
boolean
- - The predefined constants TRUE and
FALSE are used to create boolean values.
-
tree
- - Fortran expressions and statements are coded in a AST structure.
-
vector
- - A vector is a sequence of values of any
types. Each element is referenced within [] by an integer index.
-
hash
- - A hash table is a sequence of values of any
types. Each element is referenced within by an unique key. We
recommand to use simple types for keys (integer, real, string or boolean).
Most of the predefined variables as well as the pattern variables (except
$cforlib, $csymtab) are of type tree. TSF uses many other undocumented
types (lists, tables, symbols, ...). They can be exploited by internal
functions. For instance, the type of the predefined variable $symtab is
undocumented.
Next: Operators
Up: Expressions
Previous: Variables
Yann Mevel
1999-04-30