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

Re: delayDialog


  • Subject: Re: delayDialog
  • From: Mark Lively <email@hidden>
  • Date: Fri, 20 Jan 2006 12:33:25 -0500

On 1/20/06, Michelle Steiner <email@hidden> wrote:
> On Jan 20, 2006, at 10:06 AM, Robert Poland wrote:
>
> > I thought it was  interesting that I could pass text to a handler.
>
> You can pass anything to a handler--text, a number, a list, a record,
> etc.  You can call as many parameters as you wish, as well.
>
> You can't call another handler as a parameter to a handler, but you
> can call a handler from within a handler, of course.
>
> handler2()
>
> on handler1()
>         return "this is text."
> end handler1
>
> on handler2()
>         display dialog handler1()
> end handler2
>

Why can't you?  This works

on foo(astring)
	display dialog astring
end foo

on bar()
	return "test"
end bar

foo(bar())

or where you aiming from something else like procedural pointers?

-Mark
"Its like some form of medieval wonk baiting"
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: delayDialog
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: delayDialog (From: Michelle Steiner <email@hidden>)
 >Re: delayDialog (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: text item delimiters
  • Next by Date: Re: delayDialog
  • Previous by thread: Re: delayDialog
  • Next by thread: Re: delayDialog
  • Index(es):
    • Date
    • Thread