thanx Gary and Mark, you're going to think I'm lazy as ...
but it just saves writing the object name a million times, especially when you've got lots of objects with lots properties to set and methods to call within the same code block. - looks neater too (IMHO) oh well, back to writing more boring connection code... cheers guys barry.b -----Original Message----- From: Mark M [mailto:[EMAIL PROTECTED] Sent: Thursday, 22 April 2004 9:41 AM To: CFAussie Mailing List Subject: [cfaussie] Re: CF version of VB's "WITH" ? Can't say it does Barry. Why would you want to do that anyway ;o) It looks totally weird to me ;o) (But then again, I've always shunned VB) Mark ------------------------------------------------------------------ [EMAIL PROTECTED] ICQ: 3094740 Safe From Bees [ www.safefrombees.com ] Quoting Barry Beattie <[EMAIL PROTECTED]>: > hi all > > does CF (maybe within CFSCRIPT) have something like VB's WITH keyword > when working with object methods and properties? > > eg: > > WITH myObject > .val1 = var1 > .val2 = var2 > .addnew() > END WITH > > > thanx > barry.b > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
