Xref: utzoo comp.sys.mac.hypercard:4071 comp.sys.mac.programmer:16198 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!uw-june!moore From: moore@cs.washington.edu (Charles Moore) Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.programmer Subject: global variables in code resources Keywords: global variables, code resources, XCMD's, XFCN's Message-ID: <12642@june.cs.washington.edu> Date: 25 Jul 90 23:16:45 GMT Organization: U of Washington, Computer Science, Seattle Lines: 12 I am becoming increasingly frustrated by the prohibition against global variables in code resources. Is there any way around this? One possibility for me, since I am writing a HyperCard XFCN is to make callbacks to HyperCard and use HyperCard globals. I'd like to avoid this, though, since I assume callbacks to HyperCard will generally be slow. Also, it seems inelegant since I won't need this information anymore when my XFCN completes. Does anybody have any suggestions? Charles Moore