Fortran What does the *4 mean in integer*4 in fortran77?

  • Thread starter Thread starter dimensionless
  • Start date Start date
  • Tags Tags
    Fortran77 Mean
dimensionless
Messages
460
Reaction score
1
How is
Code:
integer*4
different from
Code:
integer
?
 
Technology news on Phys.org
dimensionless said:
How is
Code:
integer*4
different from
Code:
integer
?

integer*4 is an expression where you multiply integer by 4?
 
Integer*1 => 1 byte integer variable
Integer*2 => 2 bytes integer variable
Integer*4 => 4 bytes integer variable
Integer => 4 bytes by default but can be compiler dependent
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
1
Views
3K
Replies
20
Views
3K
Replies
5
Views
3K
Replies
12
Views
3K
Replies
4
Views
2K
Replies
2
Views
2K
Replies
27
Views
7K
Back
Top