Posted By

burnsra on 07/28/08


Tagged

structures ColdFusion


Versions (?)

Implicit Structure Notation


 / Published in: ColdFusion
 

  1. <cfset sample_struct = {
  2. sample_id = "#createUUID()#"
  3. , sample_title = "Sample Title"
  4. , sample_desc = "Sample Description"
  5. , sample_active_cd = "1"
  6. } />

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: johans on October 1, 2010

You do not need to quote and use # around createUUID(): sample_id = createUUID()

You need to login to post a comment.