17.07.2013 Views

GWBASIC User's Manual

GWBASIC User's Manual

GWBASIC User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GW-BASIC <strong>User's</strong> Guide<br />

visual page with completed graphics output, while executing graphics statements in one or more<br />

active pages. A page is displayed only when graphics output to that page is complete. Thus, the<br />

following program fragment is typical:<br />

SCREEN 7,, 1, 2 'work in page 1, show page 2<br />

.<br />

. Graphics output to page 1<br />

. while viewing page 2<br />

.<br />

SCREEN 7,,2,1 'work in page 2, show page 1<br />

.<br />

. Graphics output to page 2<br />

. while viewing page 1<br />

.<br />

The number of pages available depends on the SCREEN mode and the amount of available<br />

memory, as described in the following table:<br />

Table 2<br />

SCREEN Mode Specifications<br />

Attribute Color EGA<br />

Mode Resolution Range Range Memory Pages Page Size<br />

0<br />

40-column text NA 0-15a 80-column text NA 0-15<br />

NA 1 2K<br />

a NA 1 4K<br />

1 320×200 0-3b 0-3 NA 1 16K<br />

2 640×200 0-1b 0-1 NA 1 16K<br />

64K 2<br />

7 320×200 0-15 0-15 128K 4 32K<br />

256K 8<br />

64K 1<br />

8 640×200 0-15 0-15 128K 2 64K<br />

256K 4<br />

0-3 0-15 64K 1 64K<br />

9 640×350 0-15<br />

0-15<br />

0-63<br />

0-63<br />

128K<br />

256K<br />

1<br />

2<br />

128K<br />

10 640×350 0-3 0-8<br />

128K<br />

256K<br />

1<br />

2<br />

128K<br />

a Numbers in the range 16-31 are blinking versions of the colors 0-15.<br />

b Attributes applicable only with EGA.<br />

Attributes and Colors<br />

file:///C|/Documents%20and%20Settings/Lorenzo/Desktop/GW%20Basic/SCREENS.html (5 of 7)28/03/2004 21.29.16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!