Search
 
SCRIPT & CODE EXAMPLE
 

COBOL

COBOL

IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO-WORLD.
* simple hello world program
PROCEDURE DIVISION.
    DISPLAY 'Hello, World!'.
    STOP RUN.
Comment

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"
Comment

cobol

DISPLAY 'Hello, World!'.
Comment

cobol

IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO.
PROCEDURE DIVISION.
DISPLAY 'Do still people use COBOL?'.
STOP RUN
Comment

PREVIOUS NEXT
Code Example
Erlang :: tcp server erlang 
Assembly :: vmware workstation player disable side channel mitigations 
Assembly :: google apps script format date string 
Assembly :: pyplot name axes 
Assembly :: does assembly language use registers 
Assembly :: resize pdf file 
Assembly :: assembly language loop example masm 
Assembly :: re optional 
Assembly :: bidirectional binding between string Property and integerproperty 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: chart js remove grid 
Javascript :: datatables remove pagination 
Javascript :: angular current year 
Javascript :: window.reload 
Javascript :: Basic JavaScript: Use Recursion to Create a Countdown 
Javascript :: jquery only number allowed to 10 digit 
Javascript :: jquery selector input by type 
Javascript :: vuex-module-decorators rawError globally 
Javascript :: city regex pattern 
Javascript :: get current url js 
Javascript :: regex remove html tags 
Javascript :: js loop array backwards 
Javascript :: Consider using the "jsdom" test environment. 
Javascript :: js reload iframe 
Javascript :: react-native italics 
Javascript :: moment format datetime postgresql 
Javascript :: Drupal 8 get page node current path 
Javascript :: installing jQuery in react js 
Javascript :: js even or 
Javascript :: breakline in react native 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =