Sharp OZ-707 Operation Manual - Page 72

Ic::LJ ICY:J

Page 72 highlights

EVAL P D FORMAT: EVAL {"c~aracte~ string"} string vanable Abbreviation: EV. See Also: PURPOSE: Calculates the string as an expression. REMARKS: EVAL command calculates the character string enclosed in the double quotes by regarding it as an expression. It can also calculate the character string assigned to a string variable or string array variable. EXAMPLE: 10: PRINT EVAL "15+5*2" 20: A$="20*10":C=EVAL A$ 30: PRINT C 40: A=10:B=20 50: PRINT EVAL "SIN A+COS 8" FI LES D FORMAT: FILES ["[E:][filenamel1I ENTER I Abbreviation: FI. See Also: LFILES, SET PURPOSE: Displays names and attributes of specified file(s) on RAM disk. REMARKS: FI LES displays the filename, the filename extension (.BAS or other extension), and UP" (write-protection) attribute (see SET command). If no device name is specified, the last device name used will be assumed. If no filename is specified, all files on the specified device will be displayed. If neither device nor filename is specified, all files on the last device used will be displayed. To display a series of filenames, use an ambiguous filename. (See below.) To display a single filename, specify only that filename and its extension. The number of bytes used is also displayed. (See the SAVE and SET commands.) A maximum of three filenames will be displayed at one time, and an ¢ r n mark will appear to the left of the filenames. Scroll through the files by pressing the and [ ! ] keys to move the ¢ mark up or down, r n respectively. Press I SHIFT I to move to the bottom of the previous page, and I SHIFT I [ ! ] to move to the top of the next page. Pressing C[J I ENTER Ior [ I J LTI when the ¢ mark is next to a desired filename CD allows the file to be loaded into memory. Pressing IENTER I or CD c::LJ kills (deletes) the file where the ¢ mark is located. Once a file has been deleted, it cannot be recovered, so use this option with care. To avoid loading or killing a file, press any key other than CY:J or I ENTER I when the OK? prompt appears. 132 133

  • 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

EVAL
FORMAT:
EVAL
{"c~aracte~
string"}
string vanable
Abbreviation:
EV.
See
Also:
PURPOSE:
Calculates the string as
an
expression.
REMARKS:
EVAL command calculates the character string enclosed in the double
quotes by regarding it as
an
expression. It can also calculate the
character string assigned to a string variable or string array variable.
EXAMPLE:
10: PRINT
EVAL
"15+5*2"
20: A$="20*10":C=EVAL
A$
30: PRINT C
40
: A=10:B=20
50: PRINT
EVAL
"SIN A+COS 8"
132
P
D
FI
LES
FO
RMAT:
FILES ["[E:][filenamel1I
ENTER
I
Abbreviation:
FI.
See
Also:
LFILES, SET
PURPOSE:
Di
splays names and attributes of specified file(s) on RAM disk.
REMARKS:
FI
LES
displays the filename, the filename extension (.BAS or other
extension), and
UP"
(write-protection) attribute (see SET command).
D
If
no
device name
is
specified, the last device name used will be
assumed. If
no
filename
is
specified, all files
on
the specified device
will
be
displayed. If neither device nor filename is specified,
all
files on
the last device used will
be
displayed.
To
display a series of filenames,
use
an
ambiguous filename. (See below.) To display a single filename,
specify only that filename and its extension.
The number of bytes used is also displayed. (See the SAVE and SET
commands.)
A maximum of three filenames will be displayed at one time, and
an
¢
mark will appear to the left of the filenames. Scroll through the files by
pressing the
rn
and
[!]
keys to move the
¢
mark up or down,
respectively.
Press I
SHIFT
I
rn
to move to the bottom of the previous page, and
I
SHIFT
I
[!]
to
move
to
the top of the next page. Pressing
C[J
I
ENTER
I
or
[IJ
LTI
when the
¢
mark is next to a desired filename
allows the file to
be
loaded into memory. Pressing
CD
I
ENTER
I or
CD
c::LJ
kills (deletes) the file where the
¢
mark
is
located. Once
a file has been deleted,
it
cannot
be
recovered, so use this option with
care. To avoid loading or killing a file, press any key other than
CY:J
or I
ENTER
I
when the OK? prompt appears.
133