home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sams Cobol 24 Hours
/
Sams_Cobol_24_Hours.iso
/
Cobol32
/
PowerCBL
/
powercbl.Z
/
animation.prc
< prev
next >
Wrap
Text File
|
1997-03-11
|
1KB
|
52 lines
@POWER POWSHEET SHEET1 *
@POWER POWANIME ANIME1 STARTANIME
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
MOVE "Animation is being played."
TO POW-TEXT OF LABEL3.
@POWER POWANIME ANIME1 ENDANIME
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
@POWER POWPSBTN PUSH1 CLICK
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
*> Play animation.
CALL PLAY OF ANIME1.
*> Set string in the LABEL-item.
IF PROGRAM-STATUS = ZERO
THEN
MOVE "Animation is being played."
TO POW-TEXT OF LABEL3
END-IF
@POWER POWPSBTN PUSH2 CLICK
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
*> Pause animation.
CALL PAUSE OF ANIME1.
*> Set string in the LABEL-item.
IF PROGRAM-STATUS = ZERO
THEN
MOVE "Animation is paused."
TO POW-TEXT OF LABEL3
END-IF
@POWER POWPSBTN PUSH3 CLICK
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
*> End animation.
IF PROGRAM-STATUS = ZERO
THEN
MOVE "Animation is ended."
TO POW-TEXT OF LABEL3
END-IF
CALL CLOSESHEET OF SHEET1.