home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14123 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.3 KB

  1. Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!actrix!abyss!fingolfin
  2. Newsgroups: comp.sys.mac.programmer
  3. Subject: cdev/INIT & THINK pascal.
  4. Message-ID: <a6b6a05d@abyss.actrix.gen.nz>
  5. From: fingolfin@abyss.actrix.gen.nz (Paul Thompson)
  6. Date: Tue, 18 Aug 92 12:41:02 +1200
  7. Organization: Abyss E-mail Site, New Plymouth, Taranaki, New Zealand.
  8. X-Mailer: Fernmail 1.2b1
  9. Lines: 21
  10.  
  11. Yet again, I come to infinite wisdom of the net :-) I've got THINK
  12. pascal (an old version 2.0.3 I think) According to the manual to make an
  13. INIT or cdev you must change the current library from runtime.lib to
  14. DRVRruntime.lib. I must then create a unit and add it to the project.
  15. (In the same segment) In the unit you must have a procedure/function
  16. called "main" and NO GLOBAL variables. Then I set the options in the
  17. "Set project type" in the Project menu.
  18.  
  19. Ok, my question is Whats next? I have the feeling that to make a cdev
  20. which is INIT'ed I must do something else. What is it? Do I need to pass
  21. parameters into the procedure/function Main?
  22.  
  23. Any other "interesting" bits that I need to know,
  24.  
  25. BTW I don't have access to inside mac vols IV V & VI, for the same reason
  26. that I have THINK pascal 2.0.3 (Being a student I simply can't afford my
  27. computer costs. :-), no matter how much I *want* too!)
  28.  
  29. Thanks for all your help.
  30.  
  31. Cheers, Paul.
  32.