Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function att() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION ATT()

  Short:
  ------
  ATT() Colors a section of the screen, leaving the text intact


  Returns:
  --------
  <cUnder> => Underlying screen before change

  Syntax:
  -------
  Att(nTop,nLeft,nBottom,nRight,nColorAttribute)

  Description:
  ------------
  <nTop>             - top row
  <nLeft>            - left col
  <nBottom>          - bottom row
  <nRight>           - right column
  <nColorAttribute>  - attribute to set area  (numeric color )

  Saves and returns the underlying screen at <ntop,nLeft,nBottom,nRight>

  Examples:
  ---------
   ATT(5,5,10,10,79)   // sets 5,5,10,10 to +W/R

  Notes:
  ------
  This was a C file previously



  Source:
  -------
  S_ATT.PRG

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson