EasyManua.ls Logo

Commodore RF512C - Collectivalidate; Concat

Commodore RF512C
52 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
20
COLLECT
!VALIDATE
Function These interpreter
commands
free asterisk files
in
directory to
get
more
space
for
user.
'
V
is
the
mnemonic
of
validate
direct
command.
Format
BASIC
stringS = "V[ALIDATE]"
BASIC
7.0
COLLECT
[D
drive#]
[,U
device#]
Syntax Remember, there has
no
single instruction
in
BAS
IC
2.0 that's equilvent to
BASIC
7.0's
COLLECT,
so the
first
format
can
only
works
in
multi-
command
form.
T
he
device#
default
value
is
8.
The
drive#
default
value
is
O.
Where the
preceding
letters D
and
U
please
refer
to
SYNTAX.
Example:
10
OPEN
1,8
,
15
20
PRINT#
1,
"VO"
30
CLOSE
1
CONCAT
Normally you won't
have
any asterisk before the file
name
in
directory,
so
nothing should free.
Function
This
interpreter
command
is
used to
attach
data
file
to
the
end
of
the
main
data
file.
Format
BASIC
7.0
CONCAT
[D
drive#,] "trailfile"
TO
[D
drive#,]
"mainfile"
[,U
device#]
Syntax
The
trailfile
and
mainfile must
be
strings
(ie
should
be
some names
of
disk file).
The
result
of
the
concatenated
file will
be
saved
back
to mainfile.
The
device#
default
value
is
8.
The
drive#
default
value
is
O.
Where
the
preceding
letter D
and
U
please
refer to
SYNTAX
.
Example: CONCAT
"LATER"
TO
"YEAR".