Sending RTF Field Codes and Control Strings Only to RTF Output

The examples in this chapter so far have assumed that you are creating only RTF output. An important feature of ODS, however, is that you can create more than one type of output at a time. Executing your program once, you can create both a page for your Web site and an RTF version of the same report to e-mail to your team.

Problems can occur if you start using some of the features presented in this chapter with output going to destinations other than RTF, because those destinations cannot correctly interpret the RTF specifications. The following code demonstrates the problem. It creates three output files: an RTF file, an HTML file, and a LISTING file. The TITLE statement specifies ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.