Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR COBOL

COBOL

ADD 1 TO x
ADD 1, a, b TO x ROUNDED, y, z ROUNDED

ADD a, b TO c
    ON SIZE ERROR
        DISPLAY "Error"
END-ADD

ADD a TO b
    NOT SIZE ERROR
        DISPLAY "No error"
    ON SIZE ERROR
        DISPLAY "Error"
Source by en.wikipedia.org #
 
PREVIOUS NEXT
Tagged: #COBOL
ADD COMMENT
Topic
Name
8+7 =