Hi!
The introduction of
Typed Constants was made by Borland in the early 80s.
There was a lot of discussion about sense and non-sense of the Typed Constants.
But after 40 years there will be no change.
From:
TURBO Pascal
Reference Manual
Version 3.0
Copyright C> 1983, 1984, 1985 by
BORLAND INTERNATIONAL Inc.
================================
Chapter 13
TYPED CONSTANTS
Typed constants are a TURBO specialty. A typed constant may be
used exactly like a variable of the same type. Typed constants may
thus be used as "initialized variables", because the value of a typed
constant is defined, whereas the value of a variable is undefined until
an aSSignment is made. Care should be taken, of course, not to assign
values to typed constants whose values are actually meant to be
constant.
The use of a typed constant saves code if the constant is used often
in a program, because a typed constant is included in the program
code only once, whereas an untyped constant is included every time it
is used.
Typed constants are defined like untyped constants (see page 40),
except that the definition specifies not only the value of the constant
but also the type. In the definition the typed constant identifier is
succeeded by a colon and a type identifier, which is then followed by
an equal sign and the actual constant
================================
Found in my bookshelf and here:
http://bitsavers.informatik.uni-stuttgart.de/pdf/borland/turbo_pascal/TURBO_Pascal_Reference_Manual_CPM_Version_3_Dec88.pdfWinni