• 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: Use of "return"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of "return"


  • Subject: Re: Use of "return"
  • From: Steve Bird <email@hidden>
  • Date: Wed, 18 Dec 2013 17:56:11 -0500


On Dec 18, 2013, at 5:37 PM, Shane Stanley <email@hidden> wrote:

On 19 Dec 2013, at 9:28 AM, Steve Bird <email@hidden> wrote:

It acts like the “& return” is being interpreted as a “end this function and go back to the caller” sort of return, rather than a character to append.

Is that reasonable?

No. I don't know what's happening, but AS isn't going to see that as a return statement. Have a look at the formatting of the word return: 

set afterText to (theBidList of thisAuction as text) & return
return

There's no ambiguity there.


I agree - that’s the way it was shown in ASE. 
Yet it fails to execute the statement following it, and returns to the caller.

----------------------------------------------------------------

Steve Bird

Culverson Software - Elegant software that is a pleasure to use.

www.Culverson.com                     (toll free) 1-877-676-8175



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Use of "return"
      • From: Christopher Stone <email@hidden>
    • Re: Use of "return"
      • From: Shane Stanley <email@hidden>
References: 
 >Use of "return" (From: Steve Bird <email@hidden>)
 >Re: Use of "return" (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Use of "return"
  • Next by Date: System Events Keypress Question
  • Previous by thread: Re: Use of "return"
  • Next by thread: Re: Use of "return"
  • Index(es):
    • Date
    • Thread