Sharp OZ-707 Operation Manual - Page 78

EXAMPLE, FORMAT, Abbreviation, PURPOSE, REMARKS

Page 78 highlights

EXAMPLE: 10: AA$ = "081448BF481408" 20: GCURSOR (30,30) 30: GPRINT AA$;AA$;AA$ ~ -- r - .- 8 dots ' GRAD FORMAT: GRAD Abbreviation: GR. See Also: DEGREE, RADIAN The 8 dots above and Including the display starting point (30.30) specified by the GCURSOR command are used to display the first value given in GPRINT. p o PURPOSE: Changes the form of angular values to gradient form. REMARKS: There are three forms for representing angular values: decimal degrees, radians, and gradient. These forms are used in specifying the arguments to the SIN, COS, and TAN functions and in returning the results form the ASN, ACS, and ATN functions. The GRAD function changes the form for all angular values to gradient form until DEGREE or RADIAN is used. Gradient form represents angular measurement in terms of percent gradient, i.e., a 450 angle is a 50 percent gradient. 144 p HEX$ o FORMAT: HEX$ expression Abbreviation: H. See A/so: PURPOSE: Converts a decimal number into its hexadecimal character string equivalent. REMARKS: The value of the expression must be in the range of -9999999999 to 9999999999. The resulting hexadecimal character string will be up to 10 digits long. EXAMPLE: C$ = HEX$12 + HEX$15 C$ is assigned the character string "CF". 145

  • 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

EXAMPLE:
10: AA$
=
"081448BF481408"
20: GCURSOR (30,30)
30: GPRINT AA$;AA$;AA$
r
~
--
-
.-
8 dots '
GRAD
FORMAT:
GRAD
Abbreviation:
GR.
See
Also:
DEGREE, RADIAN
PURPOSE:
The
8 dots above and Including the
display starting point (30.30) specified
by
the
GCURSOR
command are used
to display the first value given in
GPRINT.
Changes the form of angular values to gradient form.
REMARKS:
There are three forms for representing angular values: decimal
degrees, radians, and gradient. These forms are used
in
specifying the
arguments to the SIN, COS, and TAN functions and in returning the
results form the ASN, ACS, and ATN functions.
p
o
The
GRAD
function changes the form for all angular values to gradient
form until DEGREE or RADIAN is used. Gradient form represents
angular measurement in terms of percent gradient, i.e., a 45
0
angle is
a
50
percent gradient.
144
HEX$
FORMAT:
HEX$ expression
Abbreviation:
H.
See
A/so:
PURPOSE:
Converts a decimal number into its hexadecimal character string
equivalent.
REMARKS:
The value of the expression must
be
in the range
of
-9999999999 to
9999999999. The resulting hexadecimal character string will be up to
10 digits long.
EXAMPLE:
C$
=
HEX$12
+
HEX$15
C$ is assigned the character string "CF".
145
p
o