home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / pascal / 5350 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  1.2 KB

  1. Path: sparky!uunet!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!lugb!lux!9125113g
  2. From: 9125113g@lux.latrobe.edu.au (Mitch Davis)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: BGI Env variable
  5. Message-ID: <1992Sep12.070621.17525@lugb.latrobe.edu.au>
  6. Date: 12 Sep 92 07:06:21 GMT
  7. References: <2148.2AAF90B7@catpe.alt.za> <1992Sep11.125327.20440@kth.se>
  8. Sender: news@lugb.latrobe.edu.au (USENET News System)
  9. Organization: La Trobe University
  10. Lines: 18
  11.  
  12. In article <1992Sep11.125327.20440@kth.se> kjell@weber.e.kth.se (Kjell Rilbe) writes:
  13. >In article <2148.2AAF90B7@catpe.alt.za> Louis.Mandelstam@p2.f42.n7101.z5.fidonet.org (Louis Mandelstam) writes:
  14. >>.....
  15. >
  16. >Wouldn't it be best to fo it this way: Let the program check for the 
  17. >environment variable BGI, and if it exists, use the BGI it sepcifies,
  18. >otherwise use the built-in autodetect to find which one of the standard
  19. >(and linked-in) BGI:s to use.
  20.  
  21. In fact, (since a LOT of programs just pass an empty string to the BGI
  22. Init thingy), the '' can be replaced with GetEnv('BGI'), and you get the
  23. best of both worlds - downward compatibility and support for the BGI
  24. variable.
  25.  
  26. I also think (Duncan!) BGIDRV and BGIFNT are suitable names for the
  27. other options.
  28.  
  29. Mitch.
  30.