Next: , Previous: , Up: AT commands   [Contents][Index]


5.5.20 ‘@O’: Open output file (global scope)

A statement of the form

@O new_output_file_name

changes the name of FTANGLE’s output file. This change remains in effect for the duration of the file, or until another ‘@O’ is encountered. (If that occurs, the previously open file is closed.)

This command is expanded during output, so it must appear in the code part.

For an example of using the ‘@O’ command to produce both C header files (‘.h’) and source files (‘.c’), see the discussion in Outer macros.

To change the name of the output file locally (for just the present section), see ATo.