Sharp OZ-707 Operation Manual - Page 26

Program and Data Files, Filenames, Extension, Device Name

Page 26 highlights

m Example: I C-CE I A B # I = I 5 # 9 ABn=5n/9 5.55555555555555 55556D-01 = ASI IAB#IENTERI ABn=5n/9 5.55555555555555 55556D-01 AB=ABn 5. 555555556E-01 If a double-precision value is used in conjunction with a function of which the argument is single-precision, functional calculations are performed after the double-precision value is rounded off to a 10-digit value. The following functions are performed in single-precision mode only: DECI, HEX, POL, REC Program and Data Files Programs and data files are fundamental in the use of your Card. A choice of media for storing program and data files is available. Part of the Card memory can be used as a RAM disk (E:), and is the most readily available storage device. Up to 64 files can be stored in RAM disk E. The RAM disk has 768 bytes of system area and files are stored in blocks of 256 bytes. Other media may be used through the 4-pin option jack or the 15-pin option jack, such as a cassette tape. 40 Filenames When saved to a storage medium such as RAM disk E in the Card memory, 4-pin I/O device, cassette tape, or serial 110 device, a file must be given a name. This name is used to load program files into the Card memory, or to access data files on the medium. The filename may be any name up to 8 characters long and include the following characters: A - Z, a - z, 0 - 9 1\, -' @, space Extension A file extension is an additional way of identifying the type of file (e.g., BASIC program file or text file). The extension consists of three characters added to the end of the filename and separated from it by a period. The extension is specified when the file is saved. BASIC programs are automatically given the extension .BAS when saved using the SAVE command. When reloaded into memory using the LOAD command, you do not need to specify the .BAS extension. When the FILES or LFILES commands are used to list the files on the RAM disk, BASIC programs will appear with the .BAS extension unless some other extension has been specified by the user when the file was saved. The .BAS extension must always be specified when using the COPY command. Device Name Since files can be stored on tape, Card memory, or the 4-pin 110 device, the device must also be specified. The device name must be followed by a colon (:). The following are the device names used on the Card. E: RAM disk E (Card memory) PACOM: 4-pin 110 device (via 4-pin option jack) CAS: Cassette tape (via 4-pin option jack) COM: Serial 1/0 device (via 15-pin option jack) 41

  • 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:
I
C-CE
I
A B
#
I
=
I
5
#
m
9
ASI
=
IAB#IENTERI
If a double-precision value is used
in
ABn=5n/9
5.55555555555555
55556D-01
ABn=5n/9
5.55555555555555
55556D-01
AB=ABn
5.
555555556E-01
conjunction with a function of which the argument is single-precision,
functional calculations are performed after the double-precision value
is
rounded off to a 10-digit value.
The following functions are performed in single-precision mode only:
DECI,
HEX,
POL,
REC
Program and Data Files
Programs and data files are fundamental in the use of your Card. A
choice of media for storing program and data files
is
available.
Part
of
the Card memory can
be
used as a RAM disk (E:), and is the
most readily available storage device. Up to 64 files can
be
stored
in
RAM disk
E.
The RAM disk has
768
bytes
of
system area and files are
stored
in
blocks of 256 bytes. Other media may be used through the
4-pin option jack or the 15-pin option jack, such as a cassette tape.
40
Filenames
When saved to a storage medium such as RAM disk E
in
the Card
memory, 4-pin I/O device, cassette tape, or serial
110
device, a file
must
be
given a name. This name is used to load program files into
the Card memory, or to access data files on the medium. The filename
may
be
any name up to
8
characters long and include the following
characters:
A -
Z,
a -
z,
0 -
9,
#,
$,
%,
&,
"
(,),
{, },
-,
1\,
-'
@,
space
Extension
A file extension
is
an additional way of identifying the type of file (e.g.,
BASIC program file or text file). The extension consists of three
characters added to the end of the filename and separated from it by a
period. The extension
is
specified when the file is saved.
BASIC programs are automatically given the extension .BAS when
saved using the SAVE command. When reloaded into memory using
the LOAD command, you
do
not need to specify the .BAS extension.
When the FILES or LFILES commands are used to list the files on the
RAM disk, BASIC programs will appear with the .BAS extension unless
some other extension has been specified by the user when the file was
saved. The .BAS extension must always
be
specified when using the
COPY command.
Device Name
Since files can be stored on tape, Card memory, or the 4-pin
110
device, the device must also
be
specified. The device name must
be
followed by a colon
(:)
. The following are the device names used on
the Card.
E:
RAM disk
E
(Card memory)
PACOM:
4-pin
110
device (via 4-pin option jack)
CAS: Cassette tape (via 4-pin option jack)
COM:
Serial
1/0
device
(via
15-pin
option
jack)
41