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