Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

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

  1. Dec 2, 2005 #1
    How is
    Code (Text):

    integer*4
     
    different from
    Code (Text):

    integer
     
    ???
     
  2. jcsd
  3. Dec 2, 2005 #2
    integer*4 is an expression where you multiply integer by 4?
     
  4. Dec 2, 2005 #3
    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
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?