Publication 1746-PM001A-US-P
Getting Familiar with Your Development Software
2-9
Editing a BASIC Program
The BASIC Development Language (BDL) streamlines BASIC programming by
providing a number of screen editing features, open-format line entry, and macros.
Macros are commands that represent a more complex series of BASIC commands.
After you finish writing your program in the BASIC development language, you
must translate/compile it into the BASIC language that the BASIC or BASIC-T
module understands. This creates a BAS file, which you can then download to the
module.
Translating and downloading are described in the following sections and in
Chapters 8 and 9.
General Editing
In the last section you positioned and sized the A window. Now you edit a BASIC
program.
1. If using a mouse, move the cursor over to the File menu at the top left and click
the left mouse button to pull down the File menu. If you do not have a mouse,
press
[F2]
on your keyboard to move the cursor to the pull-down menus.
Cursor to the right or left to highlight
File
and press
[Enter]
.
2.
2.
2.
2. Cursor down, or move your mouse to select
save file As
on the File menu.
When it is highlighted, press
[Enter]
or click the left mouse button. You also
could have pressed
A
since it is the highlighted letter corresponding to this
menu item.
The
SAVE FILE AS
dialog box appears on the screen. On the first line, it
indicates that the file in the current window is named
?No-File?
.
3.
3.
3.
3. Type:
FIRST.BDL
4.
4.
4.
4. Press
[Enter]
or move the mouse cursor to
OK<ENTER>,
and click the left
mouse button.
The
SAVE FILE AS
dialog box disappears and
“C:\ABBASIC\BAS\FIRST.BDL Saved”
appears in the message line (third line
from the top). Your message will be different if your software is not installed on
the C: drive, or if you are using different directory names.
You have just saved a file containing the
GOTO
statement under the name
FIRST
with the file extension of
BDL. BDL
stands for BASIC development
language, and entering the file extension .BDL enables the software to identify
the correct compiler for translating your program into the BASIC language.
Filename extensions are described in Chapter 3.
Содержание 1747-PBASE
Страница 1: ...BASIC Development Software Catalog Numbers 1747 PBASE Programming Manual ...
Страница 8: ...Publication 1746 PM001A US P Table of Contents vi ...
Страница 34: ...Publication 1746 PM001A US P 2 14 Getting Familiar with Your Development Software ...
Страница 72: ...Publication 1746 PM001A US P 5 8 Manipulating Files ...
Страница 88: ...Publication 1746 PM001A US P 6 16 Writing Programs Using the BASIC Development Language ...
Страница 143: ......