Code Comments
Programming Forum and web based access to our favorite programming groups.On Fri, 13 May 2005 19:00:41 +0200 (CEST), Thomas Koenig <Thomas.Koenig@online.de> wrote: >Is it OK to have a namelist in block data, like this? > > block data > common /foo/ a > namelist /foo_n/ a > data a /1.0/ > end No, but this is rather pointless, anyway, as the namelist would not be visib le to anything in the program. You could put the namelist in an include file. The COMMON declaration (and the declarations of any common variables) should also be in an include file, so that it is the same everywhere it is used. the BLOCK DATA should include the common def and then add the DATA. Steve Lionel Software Products Division Intel Corporation Nashua, NH User communities for Intel Software Development Products http://softwareforums.intel.com/ Intel Fortran Support http://developer.intel.com/software/products/support/
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.