IF Statements Logical IF statement IF statements execute conditional instructions. These statements make the program naughty. For every single task, it sets one condition in advance. If a particularly given condition (given by logical_expression) holds true, then only the program will execute a given statement (executable_statement). IF (logical_expression) executable_statement Block IF statement The naughtiness of […]
Read & Write statements A file is a sequence of records that itself is a sequence of values or characters. A FORTRAN program can read from and write to the files stored on an external storage device. Instead of the usual READ statement, file processing employs a more general form of READ statement. Also, WRITE […]