OFF-TOPIC: Algol 60 guru required

Patrick O'Callaghan pocallaghan at gmail.com
Mon Aug 3 22:59:47 UTC 2009


On Mon, 2009-08-03 at 15:23 -0700, jack craig wrote:
> On 08/03/2009 02:58 PM, Hiisi wrote:
> > Dear All!
> > Sorry for this off-topic, but I could not see any solution to my 
> > problem. I'm trying to transform old Algol 60 program to C++. I can 
> > understand every syntax of it except this construction:
> > D(N+1):=N(N+2):=0.0;
> >
> > Variables types:
> > N - INTEGER
> > D - REAL ARRAY
> > What is it? How to represent in C++? Hope on this list there's people, 
> > who could remember that from the time...
> > Thanks in advance!
> > -- 
> > Hiisi.
> > Registered Linux User #487982. Be counted at: http://counter.li.org/
> >
> i used to do a little spl (hp), to me, i'd says its a dual 
> initialization where d(n+1) is being set equal to n(n+2) and each are 
> set to 0.

How can N(N+2) be legal, if N is simply an integer?

poc




More information about the users mailing list