LJG@ceres.physics.uiowa.edu (Larry Granroth 319/335-1960) (06/25/89)
program test_volatile c---------------------------------------------------------------------- c c Dear netlanders, c c Can anyone out there tell me why VAX FORTRAN V5.2-33 c doesn't like the second VOLATILE statement below? c (I'd like to use a structure as an AST argument and declare c it volatile in the main routine.) c c Larry Granroth SPAN IOWASP::GRANROTH c 726 Van Allen Hall internet GRANROTH@IOWASP.PHYSICS.UIOWA.EDU c The University of Iowa NASAMAIL LGRANROTH c Iowa City, IA 52242-1479 TELEMAIL [LGRANROTH/JPL/NASA] NASAMAIL c U. S. A. PHONE (319) 335-1960 c c "But why do I need Unix? I don't even have a harem." - VMS user c c---------------------------------------------------------------------- integer*4 array(2) volatile array ! this works fine . . . structure /struc/ integer*4 member1 integer*4 member2 end structure record /struc/ rec volatile rec ! . . . this doesn't call exit end