Skip to content

Instantly share code, notes, and snippets.

Created September 26, 2017 17:38
Show Gist options
  • Save anonymous/bcd142aa90d40fa10c6e702e6f665c24 to your computer and use it in GitHub Desktop.
Save anonymous/bcd142aa90d40fa10c6e702e6f665c24 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
structA = {1="C:\uploads\101 San Fernando"};
structB = {1="C:\uploads\121 Tasman"};
structC = {1="C:\uploads\360 Residences"};
structD = {1="C:\uploads\481 On Mathilda"};
myArray = [];
ArrayAppend(myArray,structA);
ArrayAppend(myArray,structB);
ArrayAppend(myArray,structC);
ArrayAppend(myArray,structD);
writeDump(myArray);
//writeOutput(myArray[1][1]);
for (i=1;i LTE ArrayLen(myArray);i=i+1) {
writeOutput('<p>' & myArray[i][1] & '</p>');
}
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment