Installation guide
Additionally, in both functions, the t mask returns a value of am or pm, where it should 
return just an 
a or p. 
5.2.4 Decrypt/Encrypt 
BlueDragon does not support decryption of text that was encrypted by ColdFusion pages 
using their implementation of this function (such as data stored in a file or database after 
encryption). Conversely, text encrypted on BlueDragon cannot be decrypted in Cold-
Fusion. As a work-around, simply re-run the process to encrypt the text. 
5.2.5 InputBaseN 
In BlueDragon, if the first argument to 
InputBaseN() has a 0x prefacing the number, it 
will fail. An example is: 
<CFOUTPUT>#InputBaseN("0xefcdab 8 9",16)#</CFOUTPUT> 
A work-around is to simply remove the 0x from the argument string. 
5.2.6 StructKeyArray and StructKeyList 
The functions 
StructKeyList() and StructKeyArray() return keys in all uppercase. 
5.2.7 StructSort 
BlueDragon does not support case sensitive sorting in 
StructSort(). If the sortType is 
not 
numeric then it will sort as textnocase. The reason is that BlueDragon stores the 
struct keys internally as all lowercase. 
5.3 Enhanced CFML Functions 
This section lists CFML function enhancements that are unique to BlueDragon. 
5.3.1 ListToArray 
BlueDragon adds a new third argument to 
ListToArray(), a boolean value, which 
determines whether to include empty list elements in the resulting array. The default is 
no, which causes it to operate consistently with ColdFusion. 
Consider the following: 
<cfset list = "1,2,,3"> 
<cfdump var="#listtoarray(list,",")#"> 
Both ColdFusion and BlueDragon would return an array of 3 elements, even though there 
are 4 items in the list, the third of which is empty. Use the newly available 3
rd
 argument 
to change this behavior:: 
<cfset list = "1,2,,3"> 
<cfdump var="#listtoarray(list,",","yes")#"> 
This creates instead an array of 4 elements, with the third being empty. 
BlueDragon 6.1 CFML Compatibility and Reference Guide    34   










