Accessing Functions in the Script of the Main Stack

Pete pete at mollysrevenge.com
Wed Aug 24 18:08:18 EDT 2011


The dictionary says that "start using" puts the scripts before any objects
in the back scripts.

I'm glad I learned a bit more about inserting scripts of individual objects
though.  My current library has about 5000 lines of code in it and
navigating around it in the script editor is a pain.  The handlers can be
broken down into 5-6 logical groups so I'm thinking it might be worth my
while to put each group into buttons on a card in the library stack and
insert them individually instead of linking them with "start using".

Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Wed, Aug 24, 2011 at 2:36 PM, Ken Ray <kray at sonsothunder.com> wrote:

> > Stacks in use place their stack script into the message hierarchy just
> before the Home stack script. (In a standalone, Home is your mainstack.)
> This retains compatibility with HyperCard.
>
> I don't think that's correct (unless I'm misunderstanding) - my "home"
> stack regularly calls on handlers in libraries without any trouble. Take a
> look at the second and third graphics on Richard's wonderful "message path"
> web page:
>
>
> http://www.fourthworld.com/embassy/articles/revolution_message_path.html
>
> Maybe it's different with hcAddressing turned on?
>
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>



More information about the Use-livecode mailing list