Let me rephrase that, when setting a local variable I do not scope it, when calling it I do..
Why are you suggesting it is better to also scope a local variable when setting? If so, why when how etc... Taco Fleur http://www.tacofleur.com/index/blog/ 0421 851 786 Tell me and I will forget Show me and I will remember Teach me and I will learn > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Taco Fleur > Sent: Friday, 9 January 2004 5:20 PM > To: CFAussie Mailing List > Subject: [cfaussie] Re: Structure to XML => Benefits? > > > Ay, you mean I should scope the firstName variable? > > If so, then - I do not do that, because the variables scope > is assumed by default. > > Taco Fleur > http://www.tacofleur.com/index/blog/ > 0421 851 786 > Tell me and I will forget > Show me and I will remember > Teach me and I will learn > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf > > Of Sean A Corfield > > Sent: Friday, 9 January 2004 3:28 PM > > To: CFAussie Mailing List > > Subject: [cfaussie] Re: Structure to XML => Benefits? > > > > > > On Jan 8, 2004, at 7:48 PM, Taco Fleur wrote: > > >> You use "variables." elsewhere - why not here? > > >>> structInsert(variables.firstName, "columnName", "firstName"); > > >>> structInsert(variables.firstName, "dataType", "varchar"); > > > Not sure I understand? > > > > You had: > > > > firstName = structNew(); > > (without variables.) > > > > but then: > > > > structInsert(variables.firstName, "columnName", > > "firstName"); (with variables.) > > > > Just looks a little inconsistent... (sorry, years of code > audits made > > me pedantic :) > > > > Sean A Corfield -- http://www.corfield.org/blog/ > > > > "SOAP is not so much a means of transmitting data but a > mechanism for > > calling COM objects over the Web." > > -- not Microsoft (surprisingly!) > > > > > > --- > > 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
