VisualAge Generator to Enterprise Generation Language Migration Guide


General syntax conventions

There are some differences in the overall syntax of VisualAge Generator and EGL.

VisualAge Generator 4.5 EGL produced by the migration tool Migration tool considerations

Comments are specified in the following formats:

  • Prologs for programs, tables, and records.
  • Descriptions for items and functions.
  • Comments within functions are indicated by:
    • a semicolon (;). Everything on the same line after the semicolon is treated as a comment.
    • /*. Everything on the same line after the /* is treated as a comment.

Comments are specified in the following formats:

  • // indicates a line comment. Everything on the same line after the // is treated as a comment. The comment is only for one line.
  • /* comment */. Everything after the /* is treated as a comment until the next */. The comment can span multiple lines.

The migration tool converts as follows:

  • Prologs and part descriptions are converted to EGL // line comments.
  • Comments within functions are converted to /* comment */

Decimal point can be either a period or a comma depending on your locale.

Decimal point during development is always the period. Generation and runtime use either a period or a comma depending on the runtime locale.

During migration, if your locale uses the comma for the decimal point, the migration tool converts the comma to a period.

Properties are entered in specialized editors using check boxes, drop down lists, and so on.

Properties are entered in a text editor and must be separated by a comma.

No special considerations.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]