Go to Google Groups Home    Xpress-MP
Re: PLZZZZZZZZZ HELP

Miguel O-V <ov.mig...@googlemail.com>

I am not sure if I did understand the question... but if what you want
is to load an array from a dat file you can do it by means of for
loops as:

forall(a in 1..A,b in 1..B) do
        read(D(a,b))
end-do

You do not need to strictly start from 1.

On 10 May, 20:08, "vimek...@gmail.com" <vimek...@gmail.com> wrote:

> how to read  a groups of rows from a file  into our prgm using
> readln ???????????

> file name ; data1.dat

> data1.dat
> --------------
> 101    1  2  4
> 102    4  5  7
> 102a  4  5  6
> 103    4  4 1

> thnks in advance!