Home > DeveloperSection > Interviews > How to create a structure in coldfusion?

Posted on    March-18-2011 12:00 AM

 Cold Fusion Cold Fusion 
 1 Answer(s)
  1153  View(s)
Rate this:

Amit Singh

Total Post:565

Posted on    March-18-2011 12:00 AM

Structure in Coldfusion
  • Most powerful and flexible data type in colfusion.
  • Provides a way to store data within data. No special dimension.
  • They like folders which can store either data or other folders which in turn can store data or other folders and so on.
For Example:
<cfset contact = StructNew()>
<cfset contact.firstname = “Amit”>
<cfset contact.lastname = “Singh”>
<cfset contact.email = “aa@mindstick.com”>

Don't want to miss updates? Please click the below button!

Follow MindStick