home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / fortran / 4811 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  693 b 

  1. Path: sparky!uunet!dziuxsolim.rutgers.edu!spade.rutgers.edu!xiong
  2. From: xiong@spade.rutgers.edu (Xiong)
  3. Newsgroups: comp.lang.fortran
  4. Subject: Dynamic Memory Allocation in FORTRAN, Question
  5. Message-ID: <Dec.20.02.22.20.1992.7312@spade.rutgers.edu>
  6. Date: 20 Dec 92 07:22:20 GMT
  7. Organization: Rutgers Univ., New Brunswick, N.J.
  8. Lines: 13
  9.  
  10. Hi, I am wondering if it is possible to allocate memory dynomically in
  11. FORTRAN as in C? I am loooking for something equivalent to:
  12.  
  13.     int * a;
  14.     a = (int *) malloc (numx * sizeof (int));
  15.  
  16. in C.
  17.  
  18. Thanks a lot for your help. If this question has been asked before (I
  19. did not find it in the FAQ), plese e-mail me the answer at 
  20. xiong@spade.rutgers.edu.
  21.  
  22. Junjie
  23.