FORM Object

Form objects define the windows of GuiCOBOL applications. They are the containers in which you place
controls. They define default properties, support window-related methods and receive window-directed events.

000010  IDENTIFICATION DIVISION.
000020  PROGRAM-ID.    helloworld.
000030  ENVIRONMENT DIVISION.
000040  DATA DIVISION.
000050  WORKING-STORAGE SECTION.
000060 
000080  PROCEDURE DIVISION.
000090
000100           invoke SUPER "addform" returning SELF.

000120           move  "Hello word from GuiCOBOL" to "warning" of self.

000150           invoke self "show"
000170         
000180           invoke SELF "run"
000190
000200           stop run.
000210
000220  end program helloworld.
000230
000240