home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / hypercar / 4261 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.0 KB  |  25 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!think.com!mintaka.lcs.mit.edu!lcs.mit.edu!nodine
  3. From: nodine@lcs.mit.edu (Mark H. Nodine)
  4. Subject: Re: XCMDs and global/static data - help
  5. Message-ID: <1992Nov20.141352.11479@mintaka.lcs.mit.edu>
  6. Sender: news@mintaka.lcs.mit.edu
  7. Organization: MIT Laboratory for Computer Science
  8. References:  <1992Nov11.194012.3418@netwise.com>
  9. Date: Fri, 20 Nov 1992 14:13:52 GMT
  10. Lines: 13
  11.  
  12. In article <1992Nov11.194012.3418@netwise.com>, tonym@netwise.com (Tony Miller) writes:
  13. |> I have a Mac application developed with MPW C that I would like to
  14. |> make accessible through HyperCard.  However, the code contains quite a
  15. |> bit of global and static data, and apparently neither is allowed in an
  16. |> XCMD.  I was wondering about the feasibility of squirreling this data
  17. |> away somewhere in memory accessible to my XCMD, maybe in an INIT.
  18.  
  19. I would use HyperCard globals to store the information, assuming that there
  20. are no nulls in your data.  Make sure you pick a name that nobody else would
  21. pick for a HC global.
  22.  
  23.     --Mark
  24.  
  25.