Path: utzoo!attcan!uunet!lll-winken!ubvax!vsi1!apple!dan From: dan@Apple.COM (Dan Allen) Newsgroups: comp.sys.mac.hypercard Subject: Re: Can a HyperTalk FUNCTION be global ? Message-ID: <19986@apple.Apple.COM> Date: 4 Nov 88 22:41:50 GMT References: <10871@cup.portal.com> Organization: Apple Computer Inc, Cupertino, CA Lines: 17 HyperTalk functions can be global to different entities depending upon where you put the function. Read the docs about the inheritance path for the full answers, but in short, * A function in a stack is global to all cards, bgs, fields, etc that are in THAT stack * A function in the home stack can be used across all stacks, backgrounds, fields, buttons In both these cases the function should be in the stack script of the appropriate stack. You can get around the standard inheritance path by the use of the "send" keyword. Dan Allen Apple Computer