public vs private? [Re: Parents/Child Scripts]
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.