Wednesday, December 28, 2011

Hello World In ColdFusion

Ah now we come to ColdFusion. Such a great language to be programming websites in. I figured since I created a Hello World sample app in other languages, why not here. Here's the most basic output for ColdFusion:




<cfoutput>Hello World</cfoutput>


Of course we can make it a bit more fun... by using a variable to hold the "Hello World" in and then output that variable. In the next example, we'll use greetings as the variable.




<cfset greetings="Hello World">
<cfoutput>#greetings#</cfoutput>


So yep that's that, simple enough.

No comments:

Post a Comment

Ever feel like no one is listening?

 Ever have that feeling that no one is listening to you? Yeah, that feeling. It can be a strong feeling to have, a hurtful feeling also. The...