On Thu, 22 Sep 2011, Allin Cottrell wrote:
On Thu, 22 Sep 2011, Sven Schreiber wrote:
> I noticed that when you try to re-declare/define a variable which
> already exists, you get an error if the new declaration/assignment has a
> different type.
>
> For example, after:
> rez=5
>
> it becomes illegal to say:
> string rez = "whatever"
>
> Not sure if that is intended, but I suspect it is. However, the error
> message could maybe be more explicit? Currently it says "wrong datatype"
> or something like that.
Yes, it is intended: you're not allowed to switch types in
mid-stream. I've now added a more specific error message for
such cases, in CVS.
As a complete and shameless shirker, may I say that Ignacio's idea of a
pre-release bug-fix period has proven an excellent one and that Allin
deserves huge kudos from the whole community?
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti