Skip to content

Instantly share code, notes, and snippets.

@Macagare
Created October 8, 2013 13:23
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 Macagare/6884565 to your computer and use it in GitHub Desktop.
Save Macagare/6884565 to your computer and use it in GitHub Desktop.
coldfusion structAppend2, adds value to a new created key
void function structAppend2(required struct base, required string key, required any value) {
var paramStruct = {};
paramStruct[arguments.key] = arguments.value;
structAppend(arguments.base,paramStruct);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment