• 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: Shane Stanley <email@hidden>
  • Date: Thu, 19 Dec 2013 09:37:11 +1100

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.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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: Steve Bird <email@hidden>
References: 
 >Use of "return" (From: Steve Bird <email@hidden>)

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