I disagree. We use them to denote class members, and I've found it very effective.
Alias On 8/18/06, Greg Burch <[EMAIL PROTECTED]> wrote:
Using $ in flash is just wierd :). There is no special meaning - I don't think it should even be valid. On 8/18/06, Tom Lee <[EMAIL PROTECTED]> wrote: > I've used it to indicate arguments in a function to clarify the origin of > the variable, like this: > > function myFunc($arg1,$arg2){ > trace($arg1+" : "+$arg2); > } > > I don't know where I picked that up, but for me it makes the code easier to > read since you know immediately they are arguments. I've seen people use > the underscore for the same purpose, but that can confuse things since > ActionScript uses that for some native properties (_x,_y). > > Does anyone else do this, or am I just in my own little universe? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, > Jason > Sent: Friday, August 18, 2006 4:27 PM > To: Flashcoders mailing list > Subject: RE: [Flashcoders] vars with $ > > In addition, some programmers also use $ to indicate a string. > > Jason Merrill > Bank of America > Learning & Organization Effectiveness - Technology Solutions > > > > > > > >>-----Original Message----- > >>From: [EMAIL PROTECTED] [mailto:flashcoders- > >>[EMAIL PROTECTED] On Behalf Of Paul Venton > >>Sent: Friday, August 18, 2006 2:49 PM > >>To: 'Flashcoders mailing list' > >>Subject: RE: [Flashcoders] vars with $ > >> > >>I know PHP uses it and TorqueScript use "$" and "%" to differentiate > between > >>global ($) and local (%) variables but it has no special meaning in > Flash. > >> > >>-----Original Message----- > >>From: [EMAIL PROTECTED] > >>[mailto:[EMAIL PROTECTED] On Behalf Of > >>[EMAIL PROTECTED] > >>Sent: 18 August 2006 19:27 > >>To: Flashcoders mailing list > >>Subject: [Flashcoders] vars with $ > >> > >>Hi, > >>Can anyone tell me what special meaning vars with $ have... > >>thanks > >> > >>b > >> > >> > >>_______________________________________________ > >>Flashcoders@chattyfig.figleaf.com > >>To change your subscription options or search the archive: > >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >>Brought to you by Fig Leaf Software > >>Premier Authorized Adobe Consulting and Training > >>http://www.figleaf.com > >>http://training.figleaf.com > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com