qb45advr.hlp (
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
CALL (BASIC Procedures) Statement Programming Example
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
CALL (BASIC Procedures) Statement Programming Example
CALL_EX.BAS is a program file in the subdirectory ADVR_EX that illustrates
the CALL statement. To look at the program in the View window and,
optionally, to run it, load CALL_EX.BAS using the File menu's Open Program
command.
The program copies a series of files into a new file, the last
file in the series entered from the command line. In the program, the
BASIC subprogram PRINTOUT is called after first splitting the command
line into separate file names and storing them in the array FILE$.
The PRINTOUT subprogram copies the contents of the files to the final
file in the list and to the standard output device (default is to your
screen).