Chapter 6: Editing And Storing Programs; Entering And Storing Programs (Overview); Terminology - HP 9000 200 Series Manual

Using the basic 5.0/5.1 system
Table of Contents

Advertisement

Editing and Storing Programs
6
In this chapter you will learn how to enter, edit, and store BASIC programs.
Entering and Storing Programs (Overview)
One of the great joys of using this BASIC system is that it makes entering, editing,
and storing programs an extremely simple task. This section introduces you to some
fundamental concepts and skills involved in entering and storing BASIC programs.
Terminology
keyword
statement
command
a group of characters recognized by BASIC to represent some pre-
defined action. Examples are:
CAT
LOAD
COPY
a keyword followed by any parameters and/or secondary keywords
that:
• are required or allowed with that keyword
• and fit on one program line
1
Examples are:
CAT ":.700"
LOAD IMyProg"
COPY IMyProg" TO "BackupFile
l
a statement that is executed from the keyboard.
1
The maximum length of a command or program line is two CRT lines (up to 256 characters. When
entering commands and programs from the keyboard, this is 160 characters on most models, but only
100 characters on the Model 226. (Program lines longer than 100 characters can be created on a 310,
for instance, and then transferred to a 226 using a mass storage operation such as LOAD or GET. The
resulting lines are valid program lines on the 226. However, when viewed on the CRT in EDIT mode,
these lines have an asterisk after the line number, with only the first 100 characters visible.)
Editing and Storing Programs
6-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000 300 series

Table of Contents