Path: utzoo!utgpu!attcan!uunet!portal!cup.portal.com!Ilan From: Ilan@cup.portal.com (ilan - rabinowitz) Newsgroups: comp.sys.mac.hypercard Subject: Can a HyperTalk FUNCTION be global ? Message-ID: <10871@cup.portal.com> Date: 4 Nov 88 07:51:08 GMT Organization: The Portal System (TM) Lines: 21 I would like to define a HyperTalk function in any Stack and be able to access it by its name from any background, button, or card, and as many times as I need to. Is there a way to create this type of a "global" function if the current HyperTalk language does NOT support it ? I do NOT want to create an XCMD or an XFCN. By the way, as documented in Danny Goodman's book I should be able to call a function globally from anywhere if the function is in the Home Stack. I managed to make that work. But if I try the same thing in another stack (other than the home stack) the function placed in the stack script is never found by the button script or card script calling it. (I used the factorial example in Danny's book.) - Ilan Rabinowitz - Ilan@cup.portal.com