home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sams Cobol 24 Hours
/
Sams_Cobol_24_Hours.iso
/
Cobol32
/
PowerCBL
/
powercbl.Z
/
powmenu.ocb
< prev
next >
Wrap
Text File
|
1995-12-19
|
3KB
|
53 lines
000010 IDENTIFICATION DIVISION.
000020 CLASS-ID. POWMENU.
000030 ENVIRONMENT DIVISION.
000040 CONFIGURATION SECTION.
000050 SPECIAL-NAMES.
000060 SYMBOLIC CONSTANT IS EXTERNAL
000070**
000080** POW-MENUXXXXXX DEFINE MENU ITEM
000090**
000100* CONSTANT FOR POW-MENUBREAK
000110*
000120 POW-NOBREAK IS 0
000130 POW-BREAK IS 1
000140 POW-BARBREAK IS 2
000150*
000160 .
000170 CLASS SECTION.
000180 INHERIT POWFUND EXTERNAL. *> âNâëâXîpÅ│é╠ïLÅq
000190 01 POW-TEXT PIC X(256).
000200 01 POW-TEXTN PIC N(128).
000210 01 POW-ENABLE PIC S9(4) COMP-5.
000220 01 POW-VISIBLE PIC S9(4) COMP-5.
000230 01 POW-CHECK PIC S9(4) COMP-5.
000240 01 POW-MENUBREAK PIC S9(4) COMP-5.
000250 DATA DIVISION.
000260 CLASS SECTION.
000270 PROCEDURE DIVISION.
000280 FUNCTION MOVE OF POW-TEXT (BY CONTENT TYPE IS ALPHANUMERIC PIC X(256)) IS EXTERNAL
000290 REPLACING NAME BY "XPOWMENUSETTEXT" .
000300 FUNCTION REFERENCE OF POW-TEXT () IS EXTERNAL BY VALUE PIC X(256)
000310 REPLACING NAME BY "XPOWMENUGETTEXT" .
000320 FUNCTION MOVE OF POW-TEXTN (BY CONTENT TYPE IS NATIONAL PIC N(128)) IS EXTERNAL
000330 REPLACING NAME BY "XPOWMENUSETTEXT" .
000340 FUNCTION REFERENCE OF POW-TEXTN () IS EXTERNAL BY VALUE PIC N(128)
000350 REPLACING NAME BY "XPOWMENUGETTEXTN" .
000360 FUNCTION MOVE OF POW-ENABLE (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000370 REPLACING NAME BY "XPOWMENUSETENABLE" .
000380 FUNCTION REFERENCE OF POW-ENABLE () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000390 REPLACING NAME BY "XPOWMENUGETENABLE" .
000400 FUNCTION MOVE OF POW-VISIBLE (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000410 REPLACING NAME BY "XPOWMENUSETVISIBLE" .
000420 FUNCTION REFERENCE OF POW-VISIBLE () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000430 REPLACING NAME BY "XPOWMENUGETVISIBLE" .
000440 FUNCTION MOVE OF POW-CHECK (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000450 REPLACING NAME BY "XPOWMENUSETCHECK" .
000460 FUNCTION REFERENCE OF POW-CHECK () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000470 REPLACING NAME BY "XPOWMENUGETCHECK" .
000480 FUNCTION MOVE OF POW-MENUBREAK (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000490 REPLACING NAME BY "XPOWMENUSETMENUBREAK" .
000500 FUNCTION REFERENCE OF POW-MENUBREAK () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000510 REPLACING NAME BY "XPOWMENUGETMENUBREAK" .
000520 END CLASS POWMENU.