Sharp OZ-707 Operation Manual - Page 65

digit~.

Page 65 highlights

DATE$ p o FORMAT: DATE$ Abbreviation: See Also: TIME$ PURPOSE: Recalls the date currently set in the Organizer. REMARKS: The DATE$ command recalls the date currently set in the Organizer in the form of 10 character string data. The date is displayed in the order of mo~th, date, and year irrespective of the format specified by the Organizer. Month and date are given by two digits each while the year is given ?y 4 digit~. Hyphens are used to separate the digits. For detaIls on setting the date, see the description under "Setting the standard clock" in the Organizer manual. EXAMPLE: 10: PRINT DATE$ 20: A$ = DATE$ 30: PRINT A$ DEFDBL p o ORMA T: 1. DEFDBL character range 2. DEFDBL Abbreviation: DEF. See Also: DEFSNG PURPOSE: I efines variable(s) with single-character names as having double preCision accuracy or specifies "double-precision" mode calculations. REMARKS: In format 1, the variables in the "character range" are designated as double precision. "character range" can be specified as follows: • DEFDBL C-F . where variables, C, D, E and F are designated as double-precision, or • DEFDBL E,F,Z,H-J where variables E, F, Z, H, I and J are designated as double- precision. Variable names followed by the single-precision type declaration character (!) are given type priority over variable names declared by the DEFDBL statement. For example, variables E and F in the statement DEFDBL E,F will be treated as double-precision variables, but E! and F! will be treated as single-precision variables. Variables not declared as doubleor single-precision will be treated as single-precision variables. In format 2, all subsequent calculations are carried out to double precision. The DBL mark is shown on the screen in this mode. The double-precision mode is canceled by the following: 118 119

  • 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

DATE$
FORMAT:
DATE$
Abbreviation:
See
Also:
TIME$
PURPOSE:
Recalls the date currently set
in
the Organizer.
REMARKS:
The DATE$ command recalls the date currently set
in
the Organizer
in
the form of
10
character string data. The date
is
displayed
in
the order
of
mo~th,
date, and year irrespective of the format specified by the
Organizer. Month and date are given by two digits each while the year
is
given ?y
4
digit~.
Hyphens are used to separate the digits.
For detaIls on setting the date, see the description under "Setting the
standard clock"
in
the Organizer manual.
EXAMPLE:
10: PRINT
DATE$
20:
A$
=
DATE$
30: PRINT
A$
118
p
o
DEFDBL
O
RMA
T:
1.
DEFDBL character range
2.
DEFDBL
Abbreviation:
DEF.
See
Also:
DEFSNG
PU
RPOSE:
I
ef
ines variable(s) with single-character names as having double
pre
Cision
accuracy or specifies "double-precision" mode calculations.
RE
MARKS:
In format 1, the variables
in
the "character range" are designated as
do
uble precision. "character range" can
be
specified as follows:
• DEFDBL
C-F
.
where variables,
C,
D,
E and F are designated as double-precision,
or
• DEFDBL E,F,Z,H-J
where variables
E,
F,
Z,
H,
I and
J
are designated
as
double-
precision.
Va
riable names followed by the single-precision type declaration
character
(!)
are given type priority over variable names declared by
the DEFDBL statement. For example, variables E and F
in
the
statement
DEFDBL E,F
p
o
will be treated as double-precision variables, but
E!
and
F!
will
be
treated as single-precision variables. Variables not declared
as
double-
or single-precision will
be
treated
as
single-precision variables.
In format
2,
all subsequent calculations are carried out to double
precision. The DBL mark
is
shown
on
the screen
in
this mode. The
double-precision mode
is
canceled by the following:
119