qb45advr.hlp (Topic list)
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).