• 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: 'Expected "end" but found "end tell"'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'Expected "end" but found "end tell"'


  • Subject: Re: 'Expected "end" but found "end tell"'
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 21 Jan 2004 22:35:54 -0700

On Jan 21, 2004, at 9:21 PM, Chap Harrison wrote:

end transaction
end tell -- <== 'Expected "end" but found "end tell"'
end repeat

I was able to duplicate the bug; I don't know what's causing it, but here's what I found:

I changed "end tell" and "end repeat" to "end" and then added another line of just "end" so it looked like this:

end transaction
end
end
end

I then compiled it, and got this:

end repeat
end tell
end transaction -- < this line was all in yellow
end transaction
end tell
end repeat

All the lines were bold, except the one I commented as being all in yellow.

Yellow on my system represents application keywords; bold is for language keywords.

I then made a minor change, and tried to compile again.

I got the same error, so I removed "tell" and "repeat," and added another "end" line as before; it then compiled like this:

end repeat
end tell
end transaction -- < this line was all in yellow
end transaction -- < this line was all in yellow
end transaction
end tell
end repeat

Looks like there is a genuine bug there.

--
Peter pull at St. Taffy's tonight! (Or is it the other way around?)
_______________________________________________
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: 
 >'Expected "end" but found "end tell"' (From: Chap Harrison <email@hidden>)

  • Prev by Date: Re: 'Expected "end" but found "end tell"'
  • Next by Date: Re: applescript and browsers
  • Previous by thread: Re: 'Expected "end" but found "end tell"'
  • Next by thread: Re: 'Expected "end" but found "end tell"'
  • Index(es):
    • Date
    • Thread