Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!ucsd!ucbvax!agate!saturn!ssyx.ucsc.edu!sirkm From: sirkm@ssyx.ucsc.edu (Greg Anderson) Newsgroups: comp.sys.mac.hypercard Subject: Creating very large XCMDs Message-ID: <4695@saturn.ucsc.edu> Date: 2 Sep 88 21:40:49 GMT Sender: usenet@saturn.ucsc.edu Reply-To: sirkm@ssyx.ucsc.edu (Greg Anderson) Organization: UC Santa Cruz; Division of Social Sciences Lines: 21 I am working on an XCMD that uses very large libraries. If I tried to link it all into one segment, it would be > 32K, & thus would not fit inside a code resource. I could possibly split up the libraries into XCMDs of their own and use HyperCard callbacks to interface them at runtime. Is there a more elegant solution? Also, I'm a little bit unclear on the restrictions LSC 2.15 places on global variable usage. I thought that LSC would reference globals off of A4, but one part of the manual explicitly states that code resources cannot have any global variables. If this is the case, then what is LSC doing with the string constants I use in my XCMD? XCMDs *are* code resources, aren't they? ---------------------------------------------------------------- Greg Anderson Social Sciences Computing University of California, Santa Cruz email: sirkm@ssyx.ucsc.edu BBS: (408) 462-3832 2400/1200/300 baud