-
-
Save ryanguill/c38bd7e5fd1600a97264 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
loc.openBoxArr=[]; | |
loc.struct1= {sku:'123',name:'Test1'}; | |
loc.struct2= {sku:'456',name:'Test2'}; | |
arrayAppend(loc.openBoxArr, loc.struct1); | |
arrayAppend(loc.openBoxArr, loc.struct2); | |
loc.fileContents = ""; | |
for(line in loc.openBoxArr){ | |
loc.fileContents &= line.sku & "," & line.name & chr(13) & chr(10); | |
} | |
}; | |
</cfscript> | |
<pre>#loc.fileContents#</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment