thats partly true, except that I like to have all my vars declared and initialised to a type at the top of the function.
so this: var fileStuff=structNew(); var lineStuff=structNew(); fileStuff.filePath=""; fileStuff.fileName=""; fileStuff.extension=""; linestuff.linesread = 0; linestuff.lineswritten = 0; linesruff.timeout = 0; doesnt reduce the amount of code required to declare and type all the vars. -----Original Message----- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: 05 April 2005 12:48 To: CF-Talk Subject: Re: var groups Kerry wrote: > hey, just a thought while I am var ing about 20 variables for a large > function: > > Anyone know if MM have looked at/dismissed the idea of multiple vars i.e. > > var filepath,filename,extension as String; > var linesread,lineswritten,timeout as Int; no idea but it's cheap enough to do: var fileStuff=structNew(); var lineStuff=structNew(); fileStuff.filePath="d:\cheapThrills\"; fileStuff.fileName="drunkAsaSkunk.doc"; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201476 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

