LF Fortran 95

ASCII Character Set

FORTRAN programs may use the full ASCII Character Set as listed below. The characters are listed in collating sequence from first to last. Characters preceded by up arrows (^) are ASCII Control Characters.

DOS uses <control-Z> (^Z ) for the end-of-file delimiter and <control-M> (^M ) for carriage return. To enter these two characters in a CHARACTER constant, use concatenation and the CHAR function.

Attempting to input or output ^Z (end-of-file), ^M (new line), or ^C (break) in a sequential file is not recommended and may produce undesirable results.

ASCII Chart

Character

HEX Value

Decimal Value

ASCII Abbr.

Description

^@

00

0

NUL

null<R>

^A

01

1

SOH

start of heading

^B

02

2

STX

start of text

^C

03

3

ETX

break, end of text

^D

04

4

EOT

end of transmission

^E

05

5

ENQ

enquiry

^F

06

6

ACK

acknowledge

^G

07

7

BEL

bell

^H

08

8

BS

backspace

^I

09

9

HT

horizontal tab

^J

0A

10

LF

line feed

^K

0B

11

VT

vertical tab

^L

0C

12

FF

form feed

^M

0D

13

CR

carriage return

^N

0E

14

SO

shift out

^O

0F

15

SI

shift in

^P

10

16

DLE

data link escape

^Q

11

17

DC1

device control 1

^R

12

18

DC2

device control 2

^S

13

19

DC3

device control 3

^T

14

20

DC4

device control 4

^U

15

21

NAK

negative acknowledge

^V

16

22

SYN

synchronous idle

^W

17

23

ETB

end of transmission block

^X

18

24

CAN

cancel

^Y

19

25

EM

end of medium

^Z

1A

26

SUB

end-of-file

^[

1B

27

ESC

escape

^\

1C

28

FS

file separator

^]

1D

29

GS

group separator

^^

1E

30

RS

record separator

^

1F

31

US

unit separator

 

20

32

SP

space, blank

!

21

33

!

exclamation point

"

22

34

"

quotation mark

#

23

35

#

number sign

$

24

36

$

dollar sign

%

25

37

%

percent sign

&

26

38

&

ampersand

'

27

39

'

apostrophe

(

28

40

(

left parenthesis

)

29

41

)

right parenthesis

*

2A

42

*

asterisk

+

2B

43

+

plus

,

2C

44

,

comma

-

2D

45

-

hyphen, minus

.

2E

46

.

period, decimal point

/

2F

47

/

slash, slant

0

30

48

0

zero

1

31

49

1

one

2

32

50

2

two

3

33

51

3

three

4

34

52

4

four

5

35

53

5

five

6

36

54

6

six

7

37

55

7

seven

8

38

56

8

eight

9

39

57

9

nine

:

3A

58

:

colon

;

3B

59

;

semicolon

<

3C

60

<

less than

=

3D

61

=

equals

>

3E

62

>

greater than

?

3F

63

?

question mark

@

40

64

@

commercial at sign

A

41

65

A

uppercase A

B

42

66

B

uppercase B

C

43

67

C

uppercase C

D

44

68

D

uppercase D

E

45

69

E

uppercase E

F

46

70

F

uppercase F

G

47

71

G

uppercase G

H

48

72

H

uppercase H

I

49

73

I

uppercase I

J

4A

74

J

uppercase J

K

4B

75

K

uppercase K

L

4C

76

L

uppercase L

M

4D

77

M

uppercase M

N

4E

78

N

uppercase N

O

4F

79

O

uppercase O

P

50

80

P

uppercase P

Q

51

81

Q

uppercase Q

R

52

82

R

uppercase R

S

53

83

S

uppercase S

T

54

84

T

uppercase T

U

55

85

U

uppercase U

V

56

86

V

uppercase V

W

57

87

W

uppercase W

X

58

88

X

uppercase X

Y

59

89

Y

uppercase Y

Z

5A

90

Z

uppercase Z

[

5B

91

[

left bracket

\

5C

92

\

backslash

]

5D

93

]

right bracket

^

5E

94

^

up-arrow, circumflex, caret

_

5F

95

UND

back-arrow, underscore

`

60

96

GRA

grave accent

a

61

97

LCA

lowercase a

b

62

98

LCB

lowercase b

c

63

99

LCC

lowercase c

d

64

100

LCD

lowercase d

e

65

101

LCE

lowercase e

f

66

102

LCF

lowercase f

g

67

103

LCG

lowercase g

h

68

104

LCH

lowercase h

i

69

105

LCI

lowercase i

j

6A

106

LCJ

lowercase j

k

6B

107

LCK

lowercase k

l

6C

108

LCL

lowercase l

m

6D

109

LCM

lowercase m

n

6E

110

LCN

lowercase n

o

6F

111

LCO

lowercase o

p

70

112

LCP

lowercase p

q

71

113

LCQ

lowercase q

r

72

114

LCR

lowercase r

s

73

115

LCS

lowercase s

t

74

116

LCT

lowercase t

u

75

117

LCU

lowercase u

v

76

118

LCV

lowercase v

w

77

119

LCW

lowercase w

x

78

120

LCX

lowercase x

y

79

121

LCY

lowercase y

z

7A

122

LCZ

lowercase z

{

7B

123

LBR

left brace

|

7C

124

VLN

vertical line

}

7D

125

RBR

right brace

~

7E

126

TIL

tilde

 

7F

127

DEL,RO

delete, rubout