• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: abs bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: abs bug?


  • Subject: Re: abs bug?
  • From: Michelle Steiner <email@hidden>
  • Date: Sat, 29 Nov 2003 15:06:26 -0700

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.
  • Follow-Ups:
    • Re: abs bug?
      • From: Christopher Nebel <email@hidden>
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>)

  • Prev by Date: Re: What is wrong with this script?
  • Next by Date: abs revisited
  • Previous by thread: Re: abs bug?
  • Next by thread: Re: abs bug?
  • Index(es):
    • Date
    • Thread