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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!hela.iti.org!cs.widener.edu!dsinc!ub!acsu.buffalo.edu!ubvmsb.cc.buffalo.edu!v206gb6c
  2. From: v206gb6c@ubvmsb.cc.buffalo.edu (IS AN ILLEGAL PERSON NAME)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Comments on Turbo (Borland) Pascal 7.0?
  5. Message-ID: <By12EF.46A@acsu.buffalo.edu>
  6. Date: 20 Nov 92 18:37:00 GMT
  7. References: <1992Nov18.131557.7438@odin.diku.dk> <1992Nov18.174335.2758@exu.ericsson.se>
  8. Sender: nntp@acsu.buffalo.edu
  9. Organization: University at Buffalo
  10. Lines: 25
  11. News-Software: VAX/VMS VNEWS 1.41
  12. Nntp-Posting-Host: ubvmsb.cc.buffalo.edu
  13.  
  14. In article <1992Nov18.174335.2758@exu.ericsson.se>, exuhag@exu.ericsson.se writes...
  15. >Niels Ull Jacobsen writes:
  16. >>
  17. >>1: Source code highlighting
  18. >>   [Stuff]
  19. >I have seen this feature in Borland C++ 3.1 and it has me wondering.
  20. >I think that having comments and code in different colors is a great
  21. >idea.  But I can't figure out why anyone in their right mind would
  22. >want to have constants, keywords, and identifiers in different colors.
  23. >People made a big ruckus over Modula-2's forced "IF a = b THEN"
  24. >syntax, because it draws attention to keywords (similar to emphasizing
  25. >puncutation over sentence content, in many people's opinion).
  26.  
  27.     Well, the advantage of Borland's syntax highlighting is that YOU get to
  28. choses the emphisis.  If you want, you can move keywords into the background,
  29. rather than having them over-emphisized.  In fact this is one of the few
  30. places that the default VGA color palette works well for.  You can uses the
  31. light green for variables, constants, etc; and use the dark green for
  32. keywords.  This allows your eye to easily read along the code while still
  33. distinguishing between the different components of the syntax.
  34.  
  35. PauL M SchwartZ  (-Z-)  |  Follow men's eyes as they look to the skies
  36. v206gb6c@ubvms.BitNet   |         the shifting shafts of shining 
  37. pms@geog.buffalo.edu    |        weave the fabric of their dreams
  38. pms@acsu.buffalo.edu    |                    - RUSH -
  39.