Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!ukma!psuvm.bitnet!dn5 From: DN5@PSUVM.BITNET (D. Jay Newman) Newsgroups: comp.sys.mac.hypercard Subject: Re: Global variables from XCMD/XFCN Message-ID: <46013DN5@PSUVM> Date: 23 Jun 88 19:04:42 GMT References: <4432@zodiac.UUCP> <12600@apple.Apple.COM> Organization: The Pennsylvania State University - Computation Center Lines: 19 A reply to David Allen, about XCMDs and XFNCs not having their own A5 world. There are ways to manage global storage without A5. Both Desk Accessories and cdev's manage this easily, without an A5 world. Each time one of the above are called, one of the parameters they are passed is a handle. Initially it is 0, but they can load a handle to something in it, and pass it back to the calling program. Its a bit of a pain to program, because you have to load all your global variables into a record, and access this record from your handle, but it can be done. My question: why wasn't this done with HyperCard? Jay, etc... ps. As long as I am asking questions, why do HyperCard scrolling fields differ from every other scrolling field on the Mac: that is, when all the contents of a scrolling field are visible, then the scrollbar is white. In HyperCard, the there is always a thumb on a grey scrollbar!