I just wanted something to force recognition that a variable is local to the function without having to prefix every argument that is passed in. As the arguments prefix is optional, this helps in recognition and self documentation of the code.
> On Thu, 23 Dec 2004 14:54:34 -0500, Michael Dinowitz > <[EMAIL PROTECTED]> wrote: > > I've started to use a dollar sign as a prefix for variables which are > local > > to a function or CFC. i.e. those variables created when using the var > > keyword. > > <CFSET var $Localvar=""> > > I could have also used an underscore like so: > > <CFSET var _Localvar=""> > > I don't like either and I'm puzzled as to why you do it. After all, > everthing that is not a local variable will be prefixed by > "variables." or "arguments." right? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188698 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

