next up previous contents index
Next: Creating Fortran statements and Up: Statements Previous: Fortran declarations

Type casts

The following function are available to cast a TSF expression into another type :

  $\blacktriangleright$ TOVALUE(n)
 
The function   casts the content of n into an integer, a real or a string:

  $\blacktriangleright$ TOINT(n)
 
The function   casts the content of n into an integer value. (see TOVALUE for more details about AST cases)

  $\blacktriangleright$ TOREAL(n)
 
The function   casts the content of n into an real value. (see TOVALUE for more details about AST cases)

  $\blacktriangleright$ TOSTRING(n)
 
The function   casts the content of n into a string. (see TOVALUE for more details about AST cases)

  $\blacktriangleright$ TOTREE(n)
 
The function   casts the content of n into a AST.


next up previous contents index
Next: Creating Fortran statements and Up: Statements Previous: Fortran declarations
Yann Mevel
1999-04-30