Path: utzoo!utgpu!water!watmath!clyde!rutgers!labrea!jade!ig!uwmcsd1!bbn!rochester!ritcv!cci632!ccicpg!felix!john From: john@felix.UUCP (John Gilbert) Newsgroups: comp.sys.mac.hypercard Subject: Re: Speed Degradation, Some Questions Message-ID: <18452@felix.UUCP> Date: 12 Jan 88 00:37:56 GMT References: <39262@ti-csl> Sender: daemon@felix.UUCP Reply-To: john@felix.UUCP (John Gilbert) Organization: FileNet Corp., Costa Mesa, CA Lines: 47 In article <39262@ti-csl> martin@ti-csl writes: > >QUESTIONS! > >If you have a function that is applied to its arguments while in one >stack but is referred to by a script in another stack like: > >... >push card >go to stack "foo" >repeat with x = 1 to number of cards > go next card > function() >end repeat >pop card >... > >Is there a way to avoid thrashing back and forth between the two >stacks? It seems to thrash sometimes and not others but I haven't >figured out why. > If this is for your own personal use at home, then you can move the function to your home stack, where reference from any stack should find it. However, if you are creating stacks you want to ship to others, this presents some obvious problems. I am wondering if anyone out there is distributing HyperCard stacks, and has found an easy way to manage this. In particular, I have some XFCNs that I would like shared by several stacks, and feel too cheap to add them to each stack. This becomes even more important for some sound resources I am including, which are really large. At the moment I go one particular stack to play them. How do folks deal with resources shared among stacks they want to distribute? I have thought about providing an XCMD to install things into the Home stack, but this seems a bit presumptuous on my part. In short, I am quite reluctant to put anything I want to deliver to others anywhere but in the individual stacks that use them. Any comments? John Gilbert -- John Gilbert !trwrb!felix!john