SDF 2.000: SDF Reference: default Macro

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

# 6.8. default Macro

## Interface

The general syntax is:

      !default name [value]

The arguments are:

Name | Type | Default | Rule
name | symbol |  |
value | string | 1 |

See Understanding Macro Interfaces, if necessary.

## Description

The default macro sets a variable if it does not already have a value.

## Examples

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