parseOptions()

Fill a dynamic array with program arguments.

Syntax

parseOptions()
  1. Parse and validate command line options

Usage

The GGC needs to call this function to parse and validate the ggcgen tool command line options before registering the scenario. It fills a dynamic array with the program arguments. Depending on the options received, it performs the following:
  1. Initializes the required scenario configuration
  2. Connects to the BDL scenario server
  3. Bootstraps the scenario
For example:
IMPORT FGL ggc

MAIN
    CALL ggc.setApplicationName("")
    CALL ggc.parseOptions()
# ...
END MAIN