Prof A Olowofoyeku (The African Chief) wrote:
Sooner or later one has to learn that unintialized variables and fields are undefined in Pascal, even though GPC (at least on most platforms, perhaps all) zeroes global variables at program start.
Except when they are *not* uninitialized (;)) as under Delphi, where all fields are automatically initialized (the documented behaviour for "classes").
I still think it's better (and in the spirit of Pascal) to explicitly initialize (in code or declarations) what one wants initialized. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707