Sharp OZ-707 Operation Manual - Page 106

PD PD

Page 106 highlights

PSET P D FORMAT: 1. PSET (expression 1, expression 2) 2. PSET (expression 1, expression 2) ,X Abbreviation: PS. See Also: PRESET, GCURSOR, POINT PURPOSE: Sets or clears a dot at the specified coordinates on the display. REMARKS: Format 1 sets the dot at the coordinates (expression 1, expression 2). Format 2 clears the specified dot if it is set, and sets it if it is cleared. The values of expressions 1 and 2 may be within the range of -32768 to 32767. A dot on the display is addressed only if the value of expression 1 is 0 to 95 and that of expression 2 is 0 to 63. EXAMPLE: 10: CLS :DEGREE 20: FOR A=O TO 600 STEP 3 * 30: 8= -1 SIN A 40: Y=INT (8 *32)+32 50: X=INT (Al4) 60: PSET (X, Y) 70: NEXT A 80: WAIT:GPRINT RADIAN P D FORMAT: RADIAN Abbreviation: RAD. See Also: DEGREE, GRAD PURPOSE: Changes the form of angular values to radians. REMARKS: There are three forms for representing angular values - degrees, radians, and gradient. These forms are used in specifying the arguments to the SIN, COS and TAN functions and in returning the results from the ASN, ACS, and ATN functions. The RADIAN function changes the form of all angular values to radian form until DEGREE or GRAD is used. Radian form represents angles in terms of the length of the arc with respect to the radius, i.e., 3600 is 27t radians, since the circumference of a circle is 27t times the radius. 200 201

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128

PSET
FORMAT:
1. PSET (expression
1,
expression 2)
2.
PSET (expression
1,
expression
2)
,X
Abbreviation:
PS.
See
Also:
PRESET, GCURSOR, POINT
PURPOSE:
Sets or clears a dot at the specified coordinates on the display.
REMARKS:
Format 1 sets the dot at the coordinates (expression
1,
expression 2).
Format 2 clears the specified dot if it is set, and sets it if it is cleared.
The values of expressions 1 and 2 may
be
within the range of
-32768
to 32767. A dot on the display is addressed only if the value
of
expression 1 is 0 to 95 and that of expression 2 is 0 to 63.
EXAMPLE:
10: CLS :DEGREE
20: FOR
A=O
TO 600 STEP 3
30
: 8= -1
*
SIN
A
40:
Y=INT
(8
*32)+32
50:
X=INT
(Al4)
60:
PSET
(X,
Y)
70:
NEXT A
80: WAIT:GPRINT
200
P
D
RADIAN
FORMAT:
RADIAN
Abbreviation:
RAD.
See
Also:
DEGREE, GRAD
PURPOSE:
Changes the form
of
angular values to radians.
REMARKS:
There are three forms for representing angular values -
degrees,
radians, and gradient. These forms are used
in
specifying the
arguments to the SIN, COS and TAN functions and in returning the
results from the ASN, ACS, and ATN functions.
The RADIAN function changes the form of all angular values to radian
form until DEGREE
or
GRAD is used. Radian form represents angles
in
terms of the length of the arc with respect to the radius, i.e., 360
0
is
27t
radians, since the circumference of a circle is
27t
times the radius.
201
P
D