[thelist] forced declaration of variables in coldfusion?
Michael Wolfe
thelist at lists.evolt.org
Tue May 7 01:15:01 2002
> Is there an equivalent of "use strict" from Perl in ColdFusion?
Matt,
The short answer is....
No
The long answer is...
ColdFusion does not specifically allow the declaration of data type for
variables (with the exception of the CFQUERYPARAM tag). However, it does
provide several functions to check the type of a variable after it is
created. I won't go into all of the functions here, since there are several
excellent examples in the CF documentation.
Mike Wolfe