Re: Use of "return"
Re: Use of "return"
- Subject: Re: Use of "return"
- From: Christopher Stone <email@hidden>
- Date: Wed, 18 Dec 2013 17:17:10 -0600
On Dec 18, 2013, at 16:56, Steve Bird <email@hidden> wrote:
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.
______________________________________________________________________
Hey Steve,
I'd say you just introduced some ambiguity. :)
But you're talking about another bit of code in another message aren't you?
on test(_text) set x to "WTH " & _text & return set x to x & return return x end test
test("is this vexing problem?")
This snippet works fine.
I suggest you restart the Applescript Editor and try again.
I also suggest you enclose your errant return with parenthesis:
set afterText to ((theBidList of thisAuction as text) & return)
You could also try adding an explicit get just for fun.
set afterText to ((theBidList of thisAuction as text) & (get return))
If it's still screwing up then I suggest you reboot your system.
If no resolution then I suggest you send us a larger (working) snippet of your script to experiment with.
Did you mention which OSX version you're using?
-- Best Regards, Chris
|
_______________________________________________
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