Skip to main content

Online Fortran Editor.

Draft and review Fortran modules with syntax highlighting tuned for enterprise maintenance workflows.

Need custom conversion?

Completions appear as you type; press Ctrl+Space to open the list. Tab expands snippets where available. Find: Ctrl+F (Cmd+F on Mac). Format: toolbar button or Ctrl+Shift+B for supported languages.

Choose editor font size in pixels

Draft and review Fortran modules with syntax highlighting tuned for enterprise maintenance workflows.

Structured program

IDENTIFICATION DIVISION.
PROGRAM-ID. Fortran.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-COUNT PIC 9(4) VALUE 0.
PROCEDURE DIVISION.
    DISPLAY 'START'.
    STOP RUN.

Data definitions

01 WS-RECORD.
   05 WS-ID   PIC X(10).
   05 WS-AMT  PIC 9(7)V99.

PERFORM loop

PERFORM VARYING WS-I FROM 1 BY 1
        UNTIL WS-I > 10
    DISPLAY WS-I
END-PERFORM

CALL

CALL 'SUBPROG' USING WS-RECORD

Comments

*> comment line

Batch read loop

* Fortran batch skeleton
 READ INPUT-FILE
   AT END SET EOF-FLAG TO TRUE
   NOT AT END
     PERFORM PROCESS-RECORD
 END-READ

Does Fortran code run on ConversionTab servers?
No. Editing happens in your browser. Download the file and run it in your usual compiler, runtime, or platform.
Can I change theme and font size?
Yes. Use the toolbar above the editor; choices persist in local storage for your browser profile.