AT&T 6300 Programmer's Manual page 197

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Example
CIRCLE
Statement
STEP Option
Coordinates can be shown as absolutes. or the
STEP option can be used to reference a point
relative to the most recent point used.
For example, if the most recent point
referenced was 100,50, then:
either
CIRCLE (200,200],50
or
CIRCLE STEP (100,150],50
will draw a circle at 200,200, with radius 50.
The first example. uses absolute notation; the
second uses relative notation.
The following example draws three
intersecting circles and colors the area of
intersection.
5 SCREEN 1
10
COLOR
0,3
20 CLS
30 CIRCLE (100,120],90
40 CIRCLE (150,130],120
50 CIRCLE- (250,120],100
60 PAINT (180,120]
7-41

Advertisement

Table of Contents
loading

Table of Contents