BBS: Inland Empire Archive
Date: 04-17-92 (15:57)             Number: 197
From: RANDY HARRIS                 Refer#: NONE
  To: MIKE MELAMED                  Recvd: NO  
Subj: Backround                      Conf: (2) Quik_Bas
>How do you get background of a certain spot 1,1 for example? I know
 >that to get forground, you should do this: A=SCREEN(1,1,1):A=A AND

  Solve for background first!

  Attr = SCREEN(row, col, 1)
  background = INT(Attr / 16)
  foreground = Attr - background * 16

  IF foreground > 127 THEN  'it's a blinking color

  BTW- Whadda ya' doin' with this stuff ?

--- The Msg Mgr for TDBS
 * Origin: BBS at (508) 429-1784 ** Mail at (508) 429-8857 (1:322/360)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET