Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: abs bug?



On Nov 29, 2003, at 10:40 AM, Bill Briggs wrote:

When you write "abs x" the result of that evaluation is put in a variable called "result", and that's what would display in the result window if you left out the last line. You didn't reassign the contents of "x", so it will still be -4.

In other words, the variable is passed by value, not by reference.

--
"The right to be heard does not automatically include the right to be taken seriously." -- Hubert H. Humphrey
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: 
 >abs bug? (From: Robert Poland <email@hidden>)
 >Re: abs bug? (From: Chris Garaffa <email@hidden>)
 >Re: abs bug? (From: Robert Poland <email@hidden>)
 >Re: abs bug? (From: Bill Briggs <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.