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/f864ef7ea675dad4c5d545e18e62442c to your computer and use it in GitHub Desktop.
Save trycf/f864ef7ea675dad4c5d545e18e62442c to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
sortOrders = createObject("java", "javax.swing.SortOrder").values();
for (o in sortOrders) {
if (o == o.ASCENDING) {
writeOutput("ASCENDING");
} else {
writeOutput("NOT ASCENDING");
}
}
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment