• 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
public vs private? [Re: Parents/Child Scripts]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

public vs private? [Re: Parents/Child Scripts]


  • Subject: public vs private? [Re: Parents/Child Scripts]
  • From: has <email@hidden>
  • Date: Tue, 14 May 2002 16:02:00 +0100

Andy Wylie wrote:

>> my question regarding this topic is whether AS has the ability to
>> actually hide it's parameters?
>> i.e., can a property be defined as protected or something similar?
>
>A run only applet offers such protection.

From a brief test, it appears a run-only prevents external access to any of
its properties. You can still access any top-level handler/method you like
(presumably you won't be able to access methods wrapped in script objects;
I haven't tested this theory though). Would anyone like to yea/nay any of
this before I assume it to be correct?


Alas, this still won't restrict how objects within the script can access
one another's properties and methods, which is the point of public/private
declarations. So no real use there.

Still, a useful snippet of information to know. Thanks,

has


--
http://www.barple.connectfree.co.uk/ -- The Little Page of Beta AppleScripts
_______________________________________________
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.

  • Follow-Ups:
    • Re: public vs private? [Re: Parents/Child Scripts]
      • From: has <email@hidden>
  • Prev by Date: Re: Parents/Child Scripts
  • Next by Date: Re: Appending a list to a list and getting one list.
  • Previous by thread: AS scalability [Re: Parents/Child Scripts]
  • Next by thread: Re: public vs private? [Re: Parents/Child Scripts]
  • Index(es):
    • Date
    • Thread