Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Re: How to dist...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 15 Topic 8228 of 8656
Post > Topic >>

Re: How to distinguish between numerical data and alphanumeric title

by harper@[EMAIL PROTECTED] (John Harper) May 14, 2008 at 10:12 AM

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
 




 15 Posts in Topic:
How to distinguish between numerical data and alphanumeric titl
bru <bru@[EMAIL PROTEC  2008-05-13 09:50:32 
Re: How to distinguish between numerical data and alphanumeric t
e p chandler <epc8@[EM  2008-05-13 02:21:11 
Re: How to distinguish between numerical data and alphanumeric t
Terence <tbwright@[EMA  2008-05-13 02:49:27 
Re: How to distinguish between numerical data and alphanumeric
glen herrmannsfeldt <g  2008-05-13 02:10:19 
Re: How to distinguish between numerical data and alphanumeric t
Arjen Markus <arjen.ma  2008-05-13 05:13:52 
Re: How to distinguish between numerical data and alphanumeric t
bru <bru@[EMAIL PROTEC  2008-05-13 15:59:51 
Re: How to distinguish between numerical data and alphanumeric t
harper@[EMAIL PROTECTED]   2008-05-14 10:12:53 
Re: How to distinguish between numerical data and alphanumeric t
glen herrmannsfeldt <g  2008-05-13 14:31:17 
Re: How to distinguish between numerical data and alphanumeric t
Arjen Markus <arjen.ma  2008-05-13 12:45:03 
Re: How to distinguish between numerical data and alphanumeric t
bru <bru@[EMAIL PROTEC  2008-05-14 12:28:36 
Re: How to distinguish between numerical data and alphanumeric t
e p chandler <epc8@[EM  2008-05-13 16:19:47 
Re: How to distinguish between numerical data and alphanumeric t
glen herrmannsfeldt <g  2008-05-13 16:28:51 
Re: How to distinguish between numerical data and alphanumeric t
Arjen Markus <arjen.ma  2008-05-13 23:29:13 
Re: How to distinguish between numerical data and alphanumeric t
GaryScott <garylscott@  2008-05-13 07:12:24 
Re: How to distinguish between numerical data and alphanumeric t
glen herrmannsfeldt <g  2008-05-13 09:18:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Aug 30 8:28:12 CDT 2008.