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

Fortran 90 creating an array of unknown size

  1. Feb 21, 2012 #1
  2. jcsd
  3. Feb 23, 2012 #2

    Mark44

    Staff: Mentor

  4. Feb 24, 2012 #3
    Summit like this:

    Code (Text):

    subroutine(/arguments/)

    real,allocatable :: array(:)

    /code/

    allocate ( array(x) )

    /code/

    deallocate ( array )

    return

     
     
  5. Mar 15, 2012 #4
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Fortran 90 creating an array of unknown size
  1. FORTRAN 90 2d arrays (Replies: 6)

Loading...