PARAMETER declaration

FX fxcoudert@gmail.com
Tue Apr 29 15:10:00 GMT 2008


> [[1,2,3],[2,3,4],[3,4,1],[4,1,2]]
>
> Is this a bug or the syntax is non-standard? In the second case which
> is the right one?

>

The syntax is non standard. You need to use the RESHAPE intrinsic,  
like this:

RESHAPE ([3,2], [1,2,3,2,3,4,3,4,1,4,1,2])

FX

-- 
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/



More information about the Fortran mailing list