Help with Macintosh programming

macintosh programming, mac programming, mac os programming, mac os x programming, mac programming language, mac programing

Globals in CodeResource projects!?

 Path: sundog.tiac.net!theta.tiac.net!user
 From: jake…@max.tiac.net (Swarthy)
 Newsgroups: comp.sys.mac.programmer,comp.sys.mac.programmer.codewarrior
 Subject: Globals in CodeResource projects!?
 Date: Fri, 09 Dec 1994 20:27:55 -0500
 Organization: The Internet Access Company
 Lines: 12
 Message-ID: <jake143-0912942027550…@theta.tiac.net>
 NNTP-Posting-Host: theta.tiac.net
 Xref: sundog.tiac.net comp.sys.mac.programmer:118662
comp.sys.mac.programmer.codewarrior:5210

 Does COde Warror allow you to use Mac OS globals like randSeed, and
 thePort in a code resource file, like an FKEY or an INIT?

 I wrote an FKEY in THINK Pascal and it didn’t allow me to access the
 global "randSeed" ……Just becasue it was a code resource….defined as
 UNIT instead of PROGRAM….

 Any Suggestions?

 Yes, multi-segmenting is on…

 is there a way to dig around this w/ THINK ?

.
posted by admin in Uncategorized and have Comment (1)

One Response to “Globals in CodeResource projects!?”

  1. admin says:

     Path: sundog.tiac.net!theta.tiac.net!user
     From: jake…@max.tiac.net (Swarthy)
     Newsgroups: comp.sys.mac.programmer,comp.sys.mac.programmer.codewarrior
     Subject: Globals in CodeResource projects!?
     Date: Fri, 09 Dec 1994 20:27:55 -0500
     Organization: The Internet Access Company
     Lines: 12
     Message-ID: <jake143-0912942027550…@theta.tiac.net>
     NNTP-Posting-Host: theta.tiac.net
     Xref: sundog.tiac.net comp.sys.mac.programmer:118662
    comp.sys.mac.programmer.codewarrior:5210

     Does COde Warror allow you to use Mac OS globals like randSeed, and
     thePort in a code resource file, like an FKEY or an INIT?

     I wrote an FKEY in THINK Pascal and it didn’t allow me to access the
     global "randSeed" ……Just becasue it was a code resource….defined as
     UNIT instead of PROGRAM….

     Any Suggestions?

     Yes, multi-segmenting is on…

     is there a way to dig around this w/ THINK ?