Hi, Technically all values are passed by value. However, objects and array values are references. So when you pass an object or array the reference value is copied into the local variable. Yours truly, -Brian
JesterXL wrote: >Primitives are pass by val, whereas all complex types are pass by ref. > >String & Number == pass by val >Date, Array, Object, etc. == pass by ref > >When in doubt, assume by ref. > >----- Original Message ----- >From: Sauro, Nick >To: [email protected] >Sent: Tuesday, February 07, 2006 3:06 PM >Subject: [flexcoders] AS2: is it Pass By Reference? > > >Does anyone know? From what I've seen, it seems not, but am I wrong? > > > >-- >Flexcoders Mailing List >FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > >SPONSORED LINKS Web site design development Computer software development >Software design and development > Macromedia flex Software development best practice > > >-------------------------------------------------------------------------------- >YAHOO! GROUPS LINKS > > a.. Visit your group "flexcoders" on the web. > > b.. To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > >-------------------------------------------------------------------------------- > > > > -- ______________________________________________________________________ Brian Lesser Assistant Director, Teaching and Technology Support Computing and Communications Services Ryerson University 350 Victoria St. Toronto, Ontario Phone: (416) 979-5000 ext. 6835 M5B 2K3 Fax: (416) 979-5220 Office: AB48D E-mail: [EMAIL PROTECTED] (Enter through LB66) Web: http://www.ryerson.ca/~blesser ______________________________________________________________________ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

