-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdemo.cbl
32 lines (18 loc) · 865 Bytes
/
demo.cbl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
IDENTIFICATION DIVISION.
PROGRAM-ID. demo.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 alabel usage pointer.
PROCEDURE DIVISION.
invoke SUPER "addform" returning SELF.
move "GuiCOBOL TEST with a label blue with yellow " to "caption" of self
invoke self "addlabel" using " blue label with yellow back" returning alabel.
move "blue" to "textcolor" of alabel
move "yellow" to "backcolor" of alabel.
move "arial" to "font" of alabel.
move "300%" to "fontsize" of alabel.
invoke self "show"
invoke SELF "run"
stop run.
end program demo.