%file keyword (SDL script)
This keyword specifies the file to which code is generated.
After specifying a file through the %file keyword, code is generated to that file until the %endfile keyword is processed. %file and %endfile keywords can be nested.
Syntax
%file "<path and name of file>"
The following text demonstrates how the %file and %endfile keywords work.
%comment "Description" // no file specified
%file "c:\myfile1.h"
%comment "Description" // comment generated to myfile1
%file "c:\myfile2.h"
%comment "Description" // comment generated to myfile2
%endfile
%comment "Description" // comment generated to myfile1
%endfile
%comment "Description" // no file specified