From J.L.Schonfelder@liverpool.ac.uk  Thu May 16 18:34:15 1996
Received: from mailhub.liverpool.ac.uk (mail.liv.ac.uk [138.253.100.84]) by dkuug.dk (8.6.12/8.6.12) with SMTP id SAA14412 for <SC22WG5@dkuug.dk>; Thu, 16 May 1996 18:34:00 +0200
Received: from pop.liv.ac.uk by mail.liv.ac.uk with SMTP (PP) with ESMTP;
          Thu, 16 May 1996 17:33:18 +0100
Received: from jlspc.liv.ac.uk (jlspc.liv.ac.uk [138.253.102.118]) 
          by pop.liv.ac.uk (8.6.13/8.6.6-ajt-2) with SMTP id QAA14097 
          for <SC22WG5@dkuug.dk>; Thu, 16 May 1996 16:20:05 +0100
Date: Thu, 16 May 1996 16:20:05 BST
From: Lawrie Schonfelder <J.L.Schonfelder@liverpool.ac.uk>
Subject: Varying string standard
To: SC22WG5@dkuug.dk
Message-ID: <ECS9605161605A@liv.ac.uk>
Priority: Normal
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII



It would appear that the extensions made to the Language to produce Fortran 95 
do not neccessitate any changes to the actual normative sections of the 
standard. They would, however, allow modifications to be made to the example 
module which would make it more memory efficient. These are changes to the 
definition of the type so that by default all strings are created with the 
pointer component diassociated. The "defining" procedures such as the 
assignment and input subroutines can then safely test for the association 
status of the argument which is to become defined in the invocation and free 
any memory by dallocation if the string is currently allocated.

The required changes amount to about 10 lines of changed code in the source of 
the module. In addition there are a small number of errors in the published 
document which should be corrected. Again I am aware of only a couple of code 
errors in the example program VOCAB.F90 that need correcting.

Given the small number of changes required it is recommended that the base 
standard is not republished but an addendum document is produced indicating 
the necesary editorial changes to the existing published document. The 
existing unammended document will continue to be the Fortran 90 auxilliary 
standard and the existing document plus addendum will provide the Fortran 95 
version of the auxilliary standard.

An updated version of the source code can be found on the web. 
http://www.liv.ac.uk/~jls/iso_vst.f95

I dont guarantee I have found all the desirable changes, nor that I have made 
those that have been done correctly. Until I can gain access to an F95 
compiler the proposed mods cant be tested. 

I would welcome comments.
- --
Dr.J.L.Schonfelder
Director, Computing Services Dept.
The University of Liverpool, UK
e-mail J.L.Schonfelder@liv.ac.uk
phone: +44(151)794-3716
fax:   +44(151)794-3759




------------------------------ End of forwarded message 1


--
Dr.J.L.Schonfelder
Director, Computing Services Dept.
The University of Liverpool, UK
e-mail J.L.Schonfelder@liv.ac.uk
phone: +44(151)794-3716
fax:   +44(151)794-3759



