Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

Overview Variable Names Variable Types Variable Length Variable Classification Data Division Statements System Variables

Variable Types

The definition of a variable's type is a function of its name. Thus, the MTB compiler recognizes the difference between string names and numeric names based on the "$" at the end of string variable names.

Also see:

Variable names
Variable length
Variable classification

Examples:

  String variable             Numeric variable
  ===============             ================

  TESTDATA$                   TESTDATA