In article
<50643ef8-c8ab-41ae-aa53-26ca13338f52@[EMAIL PROTECTED]
>,
Arjen Markus <arjen.markus@[EMAIL PROTECTED]
> wrote:
>
>That should be easier with verify(). For instance:
>
>if ( verify(line, ' -+.1234567890eEdDqQ') > 0 ) then
> write(*,*) 'line contains characters that can''t appear in purely
>numerical data'
>endif
That doesn't distinguish between non-numerical data like 'e ' or
'Deed' and valid numbers like '1e0' or 1.D-2'
-- John Harper, School of Mathematics, Statistics and Computer Science,
Victoria University, PO Box 600, Wellington 6140, New Zealand
e-mail john.harper@[EMAIL PROTECTED]
phone (+64)(4)463 6780 fax (+64)(4)463 5045


|