• 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: trim_line problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trim_line problems


  • Subject: Re: trim_line problems
  • From: Giorgio Valoti <email@hidden>
  • Date: Tue, 13 Mar 2001 21:31:20 +0100
  • Organization: MMNet

"Sprague, Graham" wrote:

> Hello All,
>
> I am trying to use the trim_line() subroutine included in the AppleScript
> Help in a tell statement for BBedit. BBedit gives an error that says "BBEdit
> cannot continue trim_line". I works fine if I move the call to trim_line()
> outside the tell statement. What good is using a subroutine if you cant call
> to it inside a tell statement? Can anyone help or confirm that this is a
> known bug or something?
>

Maybe you forgot to use the 'my' clause:

tell bbedit
set newLine to my trim_line(old_line) <--
end tell

on trim_line(aLine)
-- some stuff
end trim_line

HTH
--
Giorgio Valoti
Magnetic Media Network <http://www.magneticmedia.com>
-----------------


References: 
 >trim_line problems (From: "Sprague, Graham" <email@hidden>)

  • Prev by Date: Re: Does InDesign/Quark do Hyperlinks when saving to PDF?
  • Next by Date: Re: I reserve the right to pronounce "X" as "Ex"
  • Previous by thread: trim_line problems
  • Next by thread: Re: trim_line problems
  • Index(es):
    • Date
    • Thread