Global Program Code

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

You write code that can you use throughout your application. Global code can consist of a main paragraph and other paragraphs that the main paragraph performs. You write global code in the Program Painter.

Observe the following coding rules.

For example:

PERFORM paragraphname
 PARA   paragraphname
        statement
            .
            .
            .
        PERFORM subparagraphname [(arguments)]
 PARA   subparagraphname [(+|-arguments)]
        statement
            .
            .
            .