home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1987 February
/
Ahoy_Magazine_87-02_1987_Double_L_Side_B.d64
/
listerine.txt
< prev
next >
Wrap
Text File
|
2022-10-26
|
973b
|
37 lines
LISTERINE
by Will Bow
This program takes a listed COMAL
program from disk and creates
separate files for each procedure and
function. It works unchanged in
either version of COMAL, and will
work on any listed program.
Listerine allows you to break any
program into its component procedures
and functions so they can be used by
other programs. This is a simple
automated way to start a procedures
library from programs that you
already have.
To list a program to disk, LOAD the
COMAL program into memory and type:
list "0:filename.l"
This will list the program to disk,
using the file name within the
quotes, just as if it were going to
the screen. The ".l" at the end of
the filename was added to help show
that this is a LISTed file. These
ability to LIST program to disk would
be worthless, except that you can
ENTER them back into memory, or other
programs. (You could LIST useful
PROCedures and FUNCtions to a disk
and have them for the next program
you work on).