There isn't.
<cfset theArray = arrayNew(1)>
<cfset theArray[1] = "Jrun">
...
----- Original Message -----
From: "Joe Eugene" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 8:27 PM
Subject: Array Initialization
> I cant find a way to initialize an array in CF like in Java.
>
> Example (Java Way)
>
> String appServers[] = {"JRun","CFMX","WebLogic","ORAS"};
>
> What is the CF Equivalent in One line of code like above?
>
> Thanks
> 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
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4