FORTRAN 77 Language Reference

Appendix A ASCII Character Set

This appendix contains two tables: ASCII character sets and control characters.

Table A-1 ASCII Character Set

Dec 

Oct 

Hex 

Name 

Dec 

Oct 

Hex 

 

Dec 

Oct 

Hex 

Name 

Dec 

Oct 

Hex 

 

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 000 001 002 003 004 005 006 007 010 011 012 013 014 015 016 017 020 021 022 023 024 025 026 027 030 031 032 033 034 035 036 037 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 040 041 042 043 044 045 046 047 050 051 052 053 054 055 056 057 060 061 062 063 064 065 066 067 070 071 072 073 074 075 076 077 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F SP ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 100 101 102 103 104 105 106 107 110 111 112 113 114 115 116 117 120 121 122 123 124 125 126 127 130 131 132 133 134 135 136 137 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 140 141 142 143 144 145 146 147 150 151 152 153 154 155 156 157 160 161 162 163 164 165 166 167 170 171 172 173 174 175 176 177 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ DEL

Table A-2 Control Characters ^=Control Key s^=Shift and Control Keys

Dec 

Oct 

Hex 

Name 

Keys 

Meaning 

0

1

2

3

000

001

002

003

00

01

02

03

NUL

SOH

STX

ETX

s^P

^A

^B

^C

Null or time fill character  

Start of heading  

Start of text  

End of text (EOM)  

4

5

6

7

004

005

006

007

04

05

06

07

EOT

ENQ

ACK

BEL

^D

^E

^F

^G

End of transmission  

Enquiry (WRU)  

Acknowledge (RU)  

Bell  

8

9

10

11

010

011

012

013

08

09

0A

0B

BS

HT

LF

VT

^H

^I

^J

^K

Backspace  

Horizontal tab  

Line feed (newline)  

Vertical tab  

12

13

14

15

014

015

016

017

0C

0D

0E

0F

FF

CR

SO

SI

^L

^M

^N

^O

Form Feed  

Carriage Return  

Shift Out  

Shift In  

16

17

18

19

020

021

022

023

10

11

12

13

DLE

DC1

DC2

DC3

^P

^Q

^R

^S

Data link escape  

Device control 1 (X-ON)  

Device control 2 (TAPE)  

Device control 3 (X-OFF)  

20

21

22

23

024

025

026

027

14

15

16

17

DC4

NAK

SYN

ETB

^T

^U

^V

^W

Device control 4 (TAPE)  

Negative acknowledge  

Synchronous idle  

End of transmission blocks  

24

25

26

27

030

031

032

033

18

19

1A

1B

CAN

EM

SS

ESC

^X

^Y

^Z

s^K

Cancel 

End Of medium  

Special sequence  

Escape ( ^ [ )

28

29

30

31

034

035

036

037

1C

1D

1E

1F

FS

GS

RS

US

s^L

s^M

s^N

s^O

File separator ( ^ \ )

Group separator ( ^ ] )

Record separator ( ^ ` )

Unit separator ( ^ / )

127

177

7F

DEL

s^0

Delete or rubout ( ^ _ )