|Syntax||CONCAT file1,file2 TO file3|
This command merges the first two files together to form a new file with the third specified filename, so that file2 is appended to file1. The length of file3 is exactly the sum of the lengths of the merged files.
Most SuperBASIC programmers use their own standard set of
procedures and functions. If two of them need to be added
to a program, CONCAT helps a lot: CONCAT flp1_PROG_bas,flp1_SUB_1 TO ram1_PROG_tmp DELETE flp1_PROG_bas CONCAT ram1_PROG_tmp,flp1_SUB_2 TO flp1_PROG_bas DELETE ram1_PROG_tmp
You must ensure that line numbers do not conflict.
Each filename must include the device.
See FWRITE for the more flexible APPEND procedure.