Dominique Bernardi on Wed, 8 Nov 2000 21:30:17 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: grammar question ?

  x = 0; for (x=1, 10, print(x))

the value of x is 0.

It's probably a bad design idea.

and one I take full credit for :-(. This was done when there was no local variables at all in gp. It is clear now that all this should have been planned for in advance. The truth of the matter is the whole gp grammar was grown, one "feature" at a time...

Dominique Bernardi, Théorie des Nombres
Institut de Mathématiques - Université Pierre et Marie Curie
175 rue du Chevaleret F75013 Paris - bureau 7A34
Tél (33/0) 144275441