Technical data

Storage
Requirements
Autostarting
the
BASIC
Interpreter
The following table gives the
number
of bytes required to
store BASIC variables
in
the
HP-UX disc file system.
Data
Storage
Requirements
Variable
Type
Bytes
in
BASIC/DATA
File
REAL 9 bytes.
SHORT
Individual variables
or array elements: 9 bytes.
Entire array: 5 bytes per
element.
STRING
3 bytes + 1 byte per character + 3 bytes each
time the string crosses a
logical record
boundary.
The BASIC interpreter
may
be started automatically
when
the
mainframe
power
is first
turned
on
by
using
an
Autost
file.
For example, to create
an
Autost
file
that
will also start
the
PAM window, use
the
following procedure.
1.
Create
a working copy of
the
BASIC disc. (Refer to
the
getting
started
guide or to
the
user's guide for
more
in-
formation
on
how
to copy discs.)
2.
Create
a file
named
Autost
under
the
top-level directory
on
the
disc
and
enter
the
following two line shell script:
echo
"t·4ol
..
)
s1:at-1:
in'3
BA~:;IC.
Please
I
.•
)ai
1:."
BASIC
#BASIC
t:
3.
Save
the
file as
an
HP-UX text file.
4.
Use
the
chmod
command
to
add
execute permission to
the
file. Type
in
c h m 0
oj
+::<
A,-~
1:
0 s
1:
(Return
).
Integral
PC
Specifics
2-17