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: Reading com...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 7 Topic 8196 of 8774
Post > Topic >>

Re: Reading complex data with DECIMAL='COMMA'

by SimonG <simon@[EMAIL PROTECTED] > May 1, 2008 at 08:13 AM

On May 1, 2:20 pm, Tobias Burnus <bur...@[EMAIL PROTECTED]
> wrote:
> On May 1, 2:24 pm, SimonG <si...@[EMAIL PROTECTED]
> wrote:
>
> > I'm using g95. With
>
> > complex(8) :: z
> > read(*,*,DECIMAL='POINT') z
>
> > I can input complex data with e.g. (2.1,3.2) but I haven't found any
> > way of doing the same with
>
> > read(*,*,DECIMAL='COMMA') z
>
> > Has anyone had any success doing this or know what the correct way to
> > input the data is?
>
> Using gfortran and NAG f95, I can use:  (2,1; 3,2)
>
> Tobias

Thanks for the suggestion but this causes a runtime error in g95. Does
the standard specify what it should be?

Simon
 




 7 Posts in Topic:
Reading complex data with DECIMAL='COMMA'
SimonG <simon@[EMAIL P  2008-05-01 05:24:49 
Re: Reading complex data with DECIMAL='COMMA'
Tobias Burnus <burnus@  2008-05-01 06:20:31 
Re: Reading complex data with DECIMAL='COMMA'
SimonG <simon@[EMAIL P  2008-05-01 08:13:02 
Re: Reading complex data with DECIMAL='COMMA'
nospam@[EMAIL PROTECTED]   2008-05-01 09:03:23 
Re: Reading complex data with DECIMAL='COMMA'
SimonG <simon@[EMAIL P  2008-05-04 05:53:40 
Re: Reading complex data with DECIMAL='COMMA'
Terence <tbwright@[EMA  2008-05-04 20:55:31 
Re: Reading complex data with DECIMAL='COMMA'
Janne Blomqvist <foo@[  2008-05-05 09:56:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sun Oct 12 23:29:46 CDT 2008.