Epi Info™ User Guide

Command Reference


Analysis Commands: TYPEOUT

Description
This command inserts text, a string or file contents, into the output. Typical uses might include comments or boilerplate.

Syntax
TYPEOUT “text” ([<font property>]) {TEXTFONT <color> <size>}

  • <text> represents the text to be displayed.
  • <font property> represents the properties Underline, Bold, or Italic separated by commas.
  • <color> represents Aqua, Lime, Red, Black, Silver, Maroon, Blue, Navy, Teal, Fuchsia, Olive, White, Grey, Purple, Yellow, or Green. Color can also be represented by hexadecimal digits ###### with pairs of digits representing the amount of red, green, and blue on a scale of 0–255.

Comments
TYPEOUT with a text string is similar to TITLE except that TYPEOUT places the text once when the command is encountered. HEADER appears at the top of each segment of output until cleared.

If no text in quotation marks follows the TYPEOUT command, TYPEOUT sends the file contents specified to the current output. It can be in text or HTML.

Examples

To try the code example below, copy and paste the code example into the Classic Analysis Program Editor and click Run Commands.
Displays the word “Confidential” underlined and in bold.

TYPEOUT "Confidential" (BOLD,UNDERLINE)
Page last reviewed: September 16, 2022, 12:00 pm