Creates a new structure, that has a maximum number of items. It will maintain the insertion order of the structure.
structListNew(maxsize)
→ returns struct
Creates an ordered struct with a maximum of 3 items.
sampleStruct = structListNew(3);
sampleStruct.a = 1;
sampleStruct.b = 2;
sampleStruct.c = 3;
writeDump( sampleStruct );
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.