Next | Atypical Types | 15 |
Side note: Declaration is optional, defaults to:
INTEGER for variables that begin with I, J, K, L, M, N
REAL for other variables
Array types also:
INTEGER A(10)
Functions have types:
FUNCTION F(X) INTEGER F, X F = X+1 RETURN N = F(37)
Static type checking
Expressions have types, determined at compile time
Next | Copyright © 1999,2008 Mark Dominus |