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

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

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

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
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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