The form of a simple program

A simple program takes the form:

[PROGRAM name ]

statements

END [PROGRAM name]

Optional items are shown in square brackets.

 

Comments may be included as required, for example:

PROGRAM Prog1

PRINT *, "Welcome to FTN95" ! Output a simple message.

END PROGRAM Prog1

 

 

Basket
Empty
 
Copyright © 1999-2020 Silverfrost Limited