FORTRAN 77 Language Reference

BYTE

The BYTE @ statement specifies the type to be 1-byte integer. It optionally specifies array dimensions and initializes with values.

BYTE v [/c/]

Parameter 

Description 

v

Name of a symbolic constant, variable, array, array declarator, function, or dummy function  

c

List of constants for the immediately preceding name  

Description

This is a synonym for LOGICAL*1. A BYTE type item can hold the logical values .TRUE., .FALSE., one character, or an integer between -128 and 127.

Example


       BYTE BIT3 /8/, C1/'W'/, M/127/, SWITCH/.FALSE./