SDF 2.001: SDF Reference: Conversion Variables

Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog

# 13.2. Conversion Variables

## Purpose

These variables control the conversion process.

## Interface

Name | Type | Purpose
Init-only: |  |
OPT_CONFIG | string | the configuration library
OPT_LOOK | string | the look library
OPT_STYLE | string | the type of a document
OPT_TARGET | string | target format
OPT_NUMBER | integer | line numbering frequency (when pretty-printing programming languages)
Processing: |  |
DEFAULT_TABLE_STYLE | string | default style for tables (initially columns)
DEFAULT_TAB_SIZE | integer | default tab size (initially 8)

## Description

The init-only variables can only be set via sdf's -D option or via the init macro on the top line of a file.

The processing variables control the processing of SDF text before it is passed to a format driver for conversion.

DEFAULT_TAB_SIZE is used when tabs are converted to spaces within SDF files.