On Sat, Nov 13, 2010 at 4:19 AM, Russ Michaels <r...@michaels.me.uk> wrote:
> This new function

It's not a function :)

I read your email and thought "What new function? Why can't Russ be
more specific?" :)

So now CFML has a 'new' keyword that works just like 'new' in other languages:

a = new SomeType(42); // equivalent to a = createObject( 'component',
'SomeType' ).init( 42 );
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339300
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to