24 Jan
2003
24 Jan
'03
6:58 a.m.
Found this small error in the Programming documentatin. In section 7.1.3 Constant Declaration. Down about halfway on the page you wil find this Furthermore, you can also assign initialization values to types: program InitTypeDemo; type MyInteger = Integer value 42; var i: MyInteger; begin WriteLn (i) end. Here, all variables of type MyInteger are automatically initialized to 0 when created. The variables are initialized to 42 not 0. Attached is a patch to fix this. Richard
8603
Age (days ago)
8603
Last active (days ago)
2 comments
3 participants
participants (3)
-
Frank Heckenbach -
Richard D. Jackson -
Russell Whitaker