Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/80152b410973cff866ab411052deb464 to your computer and use it in GitHub Desktop.
Save trycf/80152b410973cff866ab411052deb464 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
myMainStructure = {};
myMainStructure.A.SubKey.SubSubKey = "Hello world 1";
myMainStructure.B.SubKey.SubSubKey = "Hello world 2";
myMainStructure.C.SubKey.SubSubKey = "Hello world 3";
myMainStructure.D.SubKey.SubSubKey = "Hello world 4";
dump(myMainStructure);
structDelete(myMainStructure.A, 'SubKey');
structDelete(myMainStructure.B.SubKey, 'SubSubKey');
dump(myMainStructure);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment