Basics of Fortran

Basics are called the heart of any language. Without basics of any language you cannot imagine about any computer language. Basics of Fortran means how, what, where and which sentence, letters, digits and words can understand the Fortran Compiler.
Characters set
The Fortran character set consists of twenty-six letters, ten digits and thirteen special characters.
These Character set has been describe below:
A letter is one of the twenty-six characters (Both in lower Case as well as Upper Case):
Upper Case:: 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
Lower Case:: 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
A digit is one of the ten characters:
0 1 2 3 4 5 6 7 8 9
A string consists of a group of character from Fortran character set.
‘1223’, ‘QWEW’, ‘RAJ’, ‘MOHN’ etc.
Three types of characters sets used in Fortran language are:
These characters are well defined in the rules of Fortran. All quantities, names, statements and data in this language are followed by rules.
Character Type Values Description
Alphabets A, B, C,—–,Z. A, to Z alphabets are used as alphabets characters
Numbers 0,1,2,—–9. 0 to 9 digits are called Numbers character
Special Characters + – * / = (.) $ ; etc. These are some special characters used in Fortran
Scroll to Top