How to declare variable in Coldfusion

Friday, July 29, 2011 · Posted in

In this tutorial, we will know the basic of how to declare a variable using Coldfusion web programming language. One of the first step in learning Coldfusion is to know on how to declare its variable and what are the syntax to avoid error in execution of the program.

Sample Declaration:

#firstname# = “John larry”;
#middlename# = “Abellanosa”;
#lastname# = “Limbo”;

This is the basic on how to declare a variable in Coldusion (CFM). Coldfusion uses the number sign (#) to declare its variable. In declaring variable in Coldfusion do not for get to put the number sign (#) in the beginning ang in the end to avoid syntax error.

If there are some comments or questions about this article just CLICK THIS LINK to be redirected to the forum page.



» More Articles can be found in this site. Click Here

Powered by Blogger.