HP IBASIC Supplement 5-3
Developing Programs
External Editors
External Editors
In addition to the built-in IBASIC editor, programs can be developed in
the following external environments:
• HP BASIC editors
• ASCII word processors
• programming editors
These external editing environments provide many advantages, the most
notable are improved speed and flexibility. Precautions must be taken
when using ASCII word processors because they do not provide the
syntax checking available when using the internal editor.
After editing a program in an external environment, the best practice is
to GET the program from an IBASIC command line using the following
procedure (instead of using the keys described in
Chapter 4, “Saving and Recalling Programs”).
1. Partition an IBASIC display (as described later in this chapter).
2. Use an external keyboard to enter the command GET “PROG0:,4”
(this command loads a program file PROG0 from the internal floppy
disk drive).
3. Watch the IBASIC display as the program is loaded — syntax errors
result in error messages which are displayed on the screen.
4. Edit the program to correct any errors found.
HP BASIC
The HP BASIC editor checks for the syntax of the version of HP BASIC
being used. Because IBASIC is a subset of HP BASIC, it may not find all
of the errors — the most common error is the use of HP BASIC
commands that are not supported by IBASIC. For a listing of the
commands supported by IBASIC, refer to Chapter 10, “IBASIC Keyword
Summary.”
SAVE RECALL