[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PCT's CGA Screen



"Bryan Parkoff" <BParkoff@satx.rr.com> wrote in message news:<UzudnVJJo5-sYs6jXTWQlg@giganews.com>...
> I don't understand your post.  Please give me QBASIC example that will
> show character's pixels.
> 
> --
> Yours Truly,
> 
> Bryan Parkoff
> BParkoff@satx.rr.com

Do you mean whether a pixel is on or off?

Type POINT and press F1, and Microsoft can explain it better than I
can ;)

SCREEN 1
LOCATE 5
? "(0,0) -> "POINT(0,0)
PSET (0,0),1
LINE (0,1)-(20,1),2
LINE (0,2)-(40,10),,BF
? "(0,0) -> "POINT(0,0)
? "(15,1) -> "POINT(15,1)
? "(30,5) -> "POINT(30,5)

This should display a dot in color 1 in the corner, with a line in
color 2 directly under it, followed by a white box and the following
text:

(0,0) ->  0
(0,0) ->  1
(15,1) ->  2
(30,5) ->  3

Hope this helps.

-uso.