This file contains hidden or 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> | |
| </cfscript> |
This file contains hidden or 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> | |
| writeDump("dslfkj") | |
| </cfscript> |
This file contains hidden or 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> | |
| x = 60 * 1; | |
| cfhttp( | |
| method="GET", | |
| charset="utf-8", | |
| url="https://boxlang.ortusbooks.com/", | |
| result="result", | |
| timeout=x | |
| ) {} |
This file contains hidden or 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
| <cfoutput> | |
| <cftry> | |
| #deserializeJSON("")# | |
| <cfcatch> | |
| <cfdump var="#cfcatch#" /> | |
| </cfcatch> | |
| </cftry> |
This file contains hidden or 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> | |
| x = 4615.65 | |
| a = x * 100 // some fraction numbers produce floating point arithmetic problem | |
| dump(a); | |
| writeoutput("<hr>") | |
| b = floor(a) // round down (smaller) | |
| dump(b) | |
| b2 = floor(a * -1) |
This file contains hidden or 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> | |
| x = 4615.65 | |
| a = x * 100 // some fraction numbers produce floating point arithmetic problem | |
| dump(a) | |
| writeoutput("<hr>") | |
| b = floor(a) // round down (smaller) | |
| dump(b) | |
| b2 = floor(a * -1) |
This file contains hidden or 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> | |
| x = 4615.65 | |
| a = x * 100 // some fraction numbers produce floating point arithmetic problem | |
| dump(a) | |
| writeoutput("<hr>") | |
| b = floor(a) // round down (smaller) | |
| dump(b) | |
| b2 = floor(a * -1) |
This file contains hidden or 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> | |
| a=123 | |
| dump(a) | |
| </cfscript> |
This file contains hidden or 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> | |
| x = 4615.65 | |
| a = x * 100 // some fraction numbers produce floating point arithmetic problem | |
| dump(a) | |
| writeoutput("<hr>") | |
| b = floor(a) // round down (smaller) | |
| dump(b) |
This file contains hidden or 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> | |
| local.replaceMap = [ | |
| { old: "[[[PERIODE]]]", new: strctData.period_code }, | |
| { old: "[[[COCODE]]]", new: uCase(SCOOKIE.COCODE) }, | |
| { old: "[[[RPTNAME]]]", new: qMaster.rptname }, | |
| { old: "[[[LOG_USERID]]]", new: SCOOKIE.USER.UID }, | |
| { old: "[[[PERIOD]]]", new: dateFormat(currentMonth, "yyyy/MM") } | |
| ]; | |
| for (local.item in local.replaceMap) { |
NewerOlder