Created
January 26, 2021 04:24
-
-
Save trycf/d6461ed6d6d1adc13a1d8b6691b53a36 to your computer and use it in GitHub Desktop.
TryCF Gist
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
<!--- TAG BASED ---> | |
<cfset person = structNew()> | |
<cfset person["first_name"] = "Bart"> | |
<cfset person["last_name"] = "Gooch"> | |
<cfdump var="#person#" label="person - tag based"> | |
<cfscript> | |
// Script based | |
person = structNew(); | |
person["first_name"] = "Bart"; | |
person["last_name"] = "Gooch"; | |
writeDump( var=person, label="person - script based" ); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment