[thelist] forced declaration of variables in coldfusion?

Michael Wolfe wolfboy69 at earthlink.net
Tue May 7 01:15:01 CDT 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




More information about the thelist mailing list