+---------------+
V |
>>-.---.--COPYEXT-"extension--.-------------.--"--><
+-/-+ +-,-extension-+
Parameters:
extension
A filename extension.
Properties:
Default:
COPYEXT",cbl,cpy"
Phase:
Syntax check
$SET:
Initial
Comments:
Up to eight extensions can be specified, each extension being up to 10 characters long. A null extension is used to represent an extension of spaces; for example:
COPYEXT"src,,txt"
If the filename specified in a COPY statement has no extension or trailing period then the list of possible extensions is tried in turn until a file is sucessfully found or the list is exhausted (and an error reported).
If you have many COPY statements that do not specify an extension, using COPYEXT can improve the compilation speed of your program. For example, if all of your copyfiles have the filename extension .cpy, specifying COPYEXT"CPY,CBL" would avoid unnecessary file access attempts.
Comments:
Up to eight extensions can be specified, each extension being up to 10 characters long. A null extension is used to represent an extension of spaces; for example:
If the filename specified in a COPY statement has no extension or trailing period then the list of possible extensions is tried in turn until a file is sucessfully found or the list is exhausted (and an error reported).
If you have many COPY statements that do not specify an extension, using COPYEXT can improve the compilation speed of your program. For example, if all of your copyfiles have the filename extension .cpy, specifying COPYEXT"CPY,CBL" would avoid unnecessary file access attempts.