Whatever message this page gives is out now! Go check it out!
StructCount(structure)Parameter | Description |
structure | Structure to access. |
<cfscript>
myStruct={a:1,b:2,c:3,d:4,e:5}; //Define the structure keys
myCount=StructCount(myStruct); //Count the number of keys in myStruct
WriteOutput(#myCount#); //Display value of myCount
</cfscript><cfscript>
myStruct={a:1,b:2,c:3,d:4,e:5}; //Define the structure keys
WriteOutput(myStruct.count()); // Count the number of keys in input struct
</cfscript>