declaration of variables?
Greg Ewing (using news.cis.dfn.de)
me at privacy.net
Fri Feb 21 02:54:27 CET 2003
> Have you ever heard of any language that require you to declare
> *litteral* constants ?-)
Pascal requires you to list all the numbers you're
going to be using as labels, which is a somewhat
And there's an "interesting" language called Sorted!
which has statements like (excerpt from the above
This code does not use any numbers.
This code uses the number fivemilliontwentytwothousandeightynine.
This code uses the numbers Eins, Zwei, and Drei.
and then you refer to the declared constants by
their index in the list!
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
More information about the Python-list