home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / pascal / 6797 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  817 b 

  1. Path: sparky!uunet!mcsun!sun4nl!wtrlnd!contrast!postmaster
  2. From: berend@contrast.wlink.nl (Berend de Boer)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Interesting design/implementation dilemma
  5. Message-ID: <722335290.F00001@contrast.wlink.nl>
  6. Date: Fri, 20 Nov 1992 22:49:54
  7. Sender: postmaster@contrast.wlink.nl
  8. Lines: 22
  9.  
  10. >In Turbo Pascal:
  11. >1) Printer^.PrintJob(Job); or
  12. >2) Job^.Print(Printer);
  13.  
  14.  MS> What about conventional procedural style:
  15.  MS> 3) Print (printer, job);  ?
  16.  
  17. Thanks for your suggestion Markku. I hadn't thought about that solution.
  18. Indeed, that would work well.
  19. You point out correctly that Turbo Pascal needs some import mechanism like
  20. Modula-2, but all that typing of imports is very tedious. Maybe it should be
  21. optional?
  22.  
  23.  
  24. Greetings,
  25.  
  26. Berend. (-:
  27. fido: 2:281/527.23
  28. email: berend@contrast.wlink.nl
  29.  
  30.  
  31.  
  32.