Message from discussion
PLZZZZZZZZZ HELP
MIME-Version: 1.0
Received: by 10.100.144.11 with SMTP id r11mr698477and.19.1242062586590; Mon,
11 May 2009 10:23:06 -0700 (PDT)
Date: Mon, 11 May 2009 10:23:06 -0700 (PDT)
In-Reply-To: <aa67f9d7-54f4-43cb-9f57-5a7f287cac2f@w35g2000prg.googlegroups.com>
X-IP: 130.88.154.197
References: <aa67f9d7-54f4-43cb-9f57-5a7f287cac2f@w35g2000prg.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.0.10)
Gecko/2009042316 Firefox/3.0.10,gzip(gfe),gzip(gfe)
Message-ID: <efd5c53f-850a-4003-9b58-514c39c22c32@z7g2000vbh.googlegroups.com>
Subject: Re: PLZZZZZZZZZ HELP
From: Miguel O-V <ov.mig...@googlemail.com>
To: Xpress-MP <xpressmp@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
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 =A0a groups of rows from a file =A0into our prgm using
> readln ???????????
>
> file name ; data1.dat
>
> data1.dat
> --------------
> 101 =A0 =A01 =A02 =A04
> 102 =A0 =A04 =A05 =A07
> 102a =A04 =A05 =A06
> 103 =A0 =A04 =A04 1
>