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

Re: Inheritance implementation question


  • Subject: Re: Inheritance implementation question
  • From: Olivier Destrebecq <email@hidden>
  • Date: Tue, 9 Apr 2002 12:40:38 -0500

I tried something similar in the app i'm creating:

set bob to card
make new bob at beginning of stack 1

where card is a class name and it works fine, you might have to check
the kind of data you are returning when you get the kind of your
superclass.

because for me this does not work because i'm passing a string when the
app is expecting something else.
set bob to "card"
make new bob at beginning of stack 1

So check that the "Thing type" is of the correct type.

olivier

On Tuesday, April 9, 2002, at 11:36 AM, Brennan wrote:

>
> This doesn't work, by the way:
>
> set subtype to Thing type
> make new subtype
_______________________________________________
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.

  • Prev by Date: Re: Finder Version Wrong in OS X
  • Next by Date: Controlling Audio CD with Applescript?
  • Previous by thread: Re: Inheritance implementation question
  • Next by thread: Re: Inheritance implementation question
  • Index(es):
    • Date
    • Thread