• 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: Michelle Steiner <email@hidden>
  • Date: Fri, 20 Jan 2006 10:14:09 -0700

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

--
Support our troops.  Set a firm time-table to bring them home!

_______________________________________________
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: jj <email@hidden>
    • Re: delayDialog
      • From: Mark Lively <email@hidden>
References: 
 >delayDialog (From: Robert Poland <email@hidden>)
 >Re: delayDialog (From: Michelle Steiner <email@hidden>)
 >Re: delayDialog (From: Robert Poland <email@hidden>)

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