The end result is a CF array of strings...so the result is the same, no?

I have long wished arrayNew() worked in a more standard way though. I
do remember a while back there was mention on the list that there was
a way to use a bit of JSP, I believe, to write a cf tag that took
precedence over the built in version if you wanted to change the
behavior of a built in tag.
Perhaps the same concept would work with a function.

-- 
mailto:[EMAIL PROTECTED]
Thursday, February 20, 2003, 2:45:44 AM, you wrote:

>> <cfset appServers = listToArray("JRun,CFMX,WebLogic,ORAS")>

JE> Am aware of the above.
JE> You are creating a list and converting it to an array..
JE> this is not the same as...

JE>  String x[]={"a","b","c"};

JE> Joe Eugene



>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>> Sent: Thursday, February 20, 2003 2:42 AM
>> To: CF-Talk
>> Subject: Re: Array Initialization
>>
>>
>> <cfset appServers = listToArray("JRun,CFMX,WebLogic,ORAS")>
>>
>> --
>> mailto:[EMAIL PROTECTED]
>> Wednesday, February 19, 2003, 10:27:03 PM, you wrote:
>>
>> JE> I cant find a way to initialize an array in CF like in Java.
>>
>> JE> Example (Java Way)
>>
>> JE>    String appServers[] = {"JRun","CFMX","WebLogic","ORAS"};
>>
>> JE> What is the CF Equivalent in One line of code like above?
>>
>> JE> Thanks
>> JE> Joe Eugene
>>
>> 
JE> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to