EasyManuals Logo

HP 4155A Programmer's Guide

HP 4155A
241 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #29 background imageLoading...
Page #29 background image
Using HP Instrument BASIC
Modifying Program by using Editor Functions
Step 2. Deleting a Line
Type
EDIT 20
to start editor at line 20.
10 FOR I=1 TO 10
11 PRINT I^2
20 PRINT I
30 NEXT I
40 END
Then, select
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Delete line
or press
4
Shift
5
+
4
Delete
5
to delete line 20. The
result is as follows:
10 FOR I=1 TO 10
11 PRINT I^2
30 NEXT I
40 END
The above program increments
I
from 1 to 10, and displays the second
power of I at each step.
If you exit editor and execute the program, the following is displayed:
1
4
9
.
.
.
81
100
1-12

Table of Contents

Other manuals for HP 4155A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 4155A and is the answer not in the manual?

HP 4155A Specifications

General IconGeneral
BrandHP
Model4155A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals