GENerel Language Reference

GEDitCOM II has a built-in interpretive language called GENerel for programmatically setting up the user interface and also for writing Internal Scripts. This section describes the syntax of the language and all generic commands for language control. The GENerel Commands section describes extra commands for displaying genealogy data in the user interface. The Scripting Commands section describes extra commands when writing Internal Scripts

Definitions for language syntax, variables, and expressions are in the following topics:

These additional topics describe language control features:

Conditional Commands

Conditional blocks control what commands are executed depending on conditions of checked variables.

Repeat Commands

Repeat commands provide looping for repetitive tasks.

Subroutine and Definition Commands

Subroutines can be defined at the start of the commands and called with optional parameters.

Miscellaneous Commands

These command provides some miscellaneous functionality:

Additional Commands for Internal Scripting

These commands perform various other functions and are only available when using the language to write internal scripts: