OFF-TOPIC: Algol 60 guru required

Aaron Konstam akonstam at sbcglobal.net
Tue Aug 4 09:20:28 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.
That would be ok if N was not an integer. I think the OP is asking for
the meaning of N(N+2) when N is an integer. It is not multiplication of
N and N+2 because multiplication in ALGOL is represented by a * or a
special X like symbol. So this expression is indeed confusing.
> 
--
=======================================================================
Clones are people two.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net




More information about the fedora-list mailing list