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 #31 background imageLoading...
Page #31 background image
Using HP Instrument BASIC
Modifying Program by using Editor Functions
Step 4. Inserting Characters
Type
EDIT 20
, then press
4
Enter
5
.
10 FOR I=1 TO 10
20 PRINT I^2
30 NEXT I
40 END
Move the cursor by using
4
7
5
key.
10 FOR I=1 TO 10
20 PRINT I^2
30 NEXT I
40 END
Then type
I,
as follows:
10 FOR I=1 TO 10
20 PRINT I, I^2
30 NEXT I
40 END
Above program increments
I
from 1 to 10, and displays I and the second
power of I on one line at each step
. Exit editor, then execute the program.
The following is displayed:
1 1
2 4
3 9
.
.
.
.
.
.
9 81
10 100
1-14

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