CyberSoft CVDL

CVDL Tutorial

15. Defining VDL Macros

A VDL macro is specified using $define as the first word on a line, and the entire macro definition must be contained all on one line.

The syntax is:

  $define name value

where the line contains: optional leading white space, $define, white space, name, white space, value.

  • The macro name must start with a letter [a-zA-Z_] followed by 0 or more letters or digits.
  • Macro names are case-sensitive.
  • The value continues to the end of the line, and trailing white space is trimmed.

Listen to the audio

Contents | Previous | Next