Most features of the scripting object have identical CF functions. For
Scripting.FileSystemObject, use cffile; for scripting.dictionaries, use
structures.

Unless you require the ability to modify the IIS object itself (for
example an automated ISP app,) you shouldn't have a problem finding a
replica of the asp features in cf. And if there is an exception, you can
"usually" get the job done with cfobject.

"Pecora, James" wrote:
> 
> Hello all...
> 
> I'm trying to draw some parallels between CF and ASP for a client...
> The use of the native IIS scripting objects has come up...
> 
> I am trying to understand if it is possible and in what syntax - to use
> these objects..
> 
> EXAMPLE:
> the object scripting.dictionary (is actually a single dimention array) So
> instantiating it looks like this...
> <%
> Dim Capitols
> Set Capitols = CreateObject("Scripting.Dictionary")
> %>
> 
> I can actually create this same (I assume) object using CFOBJECT:
> <cfobject type="COM" name="dictionary_test" class="scripting.dictionary"
> action="CREATE">
> 
> MY QUESTION:
> How does one ?populate? an object in CF??
> 
> The asp syntax is this...
> <% Capitols.add "England","London" %>
> 
> What is teh CF equivelent??? Is there one...
> 
> I realize this is a poor example as I can do the same thing with an array as
> this dictionary does...It's the concept and syntax I'm after...
> 
> Thanks all..
> ------------------------------------------------------------------------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

-- 
Aymeric Grassart        <->     Chief Technology Officer
http://www.aylo.com     <->     Aylo Inc.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to