Technical data
File Naming
Conventions
Series
80
Program Files
It
is
recommended
that
Series 80 file
names
be
restricted to
upper
and
lower case alphabetic characters, numeric charac-
ters,
the
period,
and
the
underscore character 1/_".
Any
files
that
you
do
not
want
to transfer
can
be
masked
with
an
asterisk
1/*"
as
the
first character
in
the
file name.
Converting
Series
80
Program
Files
to
ASCII
Files.
Series 80
program
files
can
not
be
directly transferred using
this utility.
Program
files
must
first
be
converted
into ASCII
data
files
by
the
Advanced
Programming
ROM
::;
A
I.}
E com-
mand
or
by
the
::;
A
I.}
E
command
available
in
the
GET
::;
A
I.}
E
binary.
After using
the
SA'.}E
command
to convert
the
program
into
a
data
file,
rename
the
file to
start
with
an
underscore
character
1/_" (not a
minus
sign or a
hyphen).
This is to allow
the
utility
to distinquish
between
the
Series 80
DATA
files
that
contain
programs,
and
those
that
contain data. This is
important
since
the
GET
command
in
HP-UX Technical BASIC
cannot
retrieve
programs
from
DATA
files.
Series
80
BASIC
Programs
Containing
Binary
Programs.
Any
Series 80
program
that
contains
binary
pro-
gram
keywords
may
be
transferred to
an
HP-UX text file.
First
use
the
Series 80 BASIC
LOA
D
E:
I
t·4
command
to
load
the
binary,
then
S A
I.}
E
the
file using a file
name
beginning
with
an
underscore character. Use
the
upload
program
to
convert
the
file,
then
in
HP-UX Technical BASIC,
use
the
GET com-
mand
to retrieve
the
file. The parser will, however, flag all
binary
keywords as syntax errors
or
variable names.
To
avoid syntax errors, try
the
following:
1. Replace binary keywords
with
functionally equivalent
ROM keywords,
if
possible.
2.
Replace
binary
keywords
with
user
defined
functions
or
subprograms.
Uploading
Series
80
BASIC
Files
3-5