HP E1340A User's Manual
Download Operation & user’s manual of HP E1340A Portable Generator for Free or View it Online on All-Guides.com.
Turning Off (Suppressing) the End-Of-Line Terminator
As mentioned, coupled commands must be contiguous and executed in the
same program statement. By suppressing the end-of-line (EOL) terminator
(Line Feed) on a command line, coupled commands can be sent on separate
lines, yet as a single program statement.
In HP IBASIC programs, the EOL terminator is suppressed by placing a
semicolon ( ; ) following the quotation mark ( “ ) which closes the
command string. In the program above, the commands in lines 150 - 180 are
in the coupling group. The semicolons following the command strings in
lines 150 through 170 suppress the EOL terminator; therefore lines 150 -
180 are sent as a single statement.
Getting Programs
The HP IBASIC programs are stored on the disk as ASCII files. The
program name is shown in the program title and in line 1 of the program
(e.g.,
1 !RE-SAVE"ARB_GEN"). To get a program, type:
GET “file name” (e.g., GET “ARB_GEN”)
Declaring IBASIC Variables in COM (common) Memory
When writing or modifying IBASIC programs, array variables can be
declared in COM (common) memory. Variables not in COM memory reside
in the IBASIC stack. The ’stack’ is a 32 kByte (default) segment of memory
which contains components such as pointers and local variables for
subprograms and declarations. When too many variables (or too large an
array) are in the stack, Error 2 - Memory Overflow will occur. If a memory
overflow occurs, the stack size can be changed with the command
PROGram:MALLocate <nbytes> (see the Instrument BASIC User’s Manual
for more information).
Chapter 1 Getting Started with the HP E1340A 24