Another update from ingydotnet^djgoku

This commit is contained in:
Ingy döt Net 2015-11-18 06:14:39 +00:00
parent 91df62d461
commit 948b86eafa
7604 changed files with 108452 additions and 22726 deletions

View file

@ -0,0 +1,24 @@
<cfscript>
function CompareInteger( Integer1, Integer2 ) {
VARIABLES.Result = "";
if ( ARGUMENTS.Integer1 LT ARGUMENTS.Integer2 ) {
VARIABLES.Result = VARIABLES.Result & "(" & ARGUMENTS.Integer1 & " is less than " & ARGUMENTS.Integer2 & ")";
}
if ( ARGUMENTS.Integer1 LTE ARGUMENTS.Integer2 ) {
VARIABLES.Result = VARIABLES.Result & "(" & ARGUMENTS.Integer1 & " is less than or equal to " & ARGUMENTS.Integer2 & ")";
}
if ( ARGUMENTS.Integer1 GT ARGUMENTS.Integer2 ) {
VARIABLES.Result = VARIABLES.Result & "(" & ARGUMENTS.Integer1 & " is greater than " & ARGUMENTS.Integer2 & ")";
}
if ( ARGUMENTS.Integer1 GTE ARGUMENTS.Integer2 ) {
VARIABLES.Result = VARIABLES.Result & "(" & ARGUMENTS.Integer1 & " is greater than or equal to " & ARGUMENTS.Integer2 & ")";
}
if ( ARGUMENTS.Integer1 EQ ARGUMENTS.Integer2 ) {
VARIABLES.Result = VARIABLES.Result & "(" & ARGUMENTS.Integer1 & " is equal to " & ARGUMENTS.Integer2 & ")";
}
if ( ARGUMENTS.Integer1 NEQ ARGUMENTS.Integer2 ) {
VARIABLES.Result = VARIABLES.Result & "(" & ARGUMENTS.Integer1 & " is not equal to " & ARGUMENTS.Integer2 & ")";
}
return VARIABLES.Result;
}
</cfscript>