- (Image) File Copying

### File Copying

It is common to have GIF or image files displayed in HTML pages. XC has the capability of copying specified files in base and extension directories into the directory where composed HTML pages reside. The syntax of copy is the XC statement:

>     <copy FILENAME >

when this statement is parsed, the mentioned file is remembered. When the composite file is output by XC, all "copied" files are copied into the output directory as well.

At present, there is no provision to create subdirectories in the output directory in which all image files reside. So a limitation of XC at this time requires a base file be in the same directory as all image files that it references. The same holds for extension files and their gif files.

Another limitation of the copy command is that a FILENAME can not have embedded blanks. (Placing quotes around filenames with blanks won't work as XC's lexical analyzer is too stupid to understand blanks).