Re: [fpc-pascal] RTFM question (?): which variables/fields are initialized by fpc?

2015-02-22 Thread Michael Van Canneyt
On Sun, 22 Feb 2015, Bart wrote: Hi, I cannot find it in the docs (probably not looking in the right place). Which variables/class-fields are initialized by the compiler? My understanding is that: - global vars are initialized (zero, false, empty string etc) - local vars are not But what

Re: [fpc-pascal] libxml on MacOS X

2015-02-22 Thread Andreas Schneider
Oh god, that must have been tunnel vision. Yeah, that was the obvious next step. Thanks :-) I compiled all the supplied examples and ran them, and they seem to print plausible results. The only hurdle is, that ld doesn't pick up libxml2.dylib on its own - for whatever reason. I had to

[fpc-pascal] RTFM question (?): which variables/fields are initialized by fpc?

2015-02-22 Thread Bart
Hi, I cannot find it in the docs (probably not looking in the right place). Which variables/class-fields are initialized by the compiler? My understanding is that: - global vars are initialized (zero, false, empty string etc) - local vars are not But what about class fields? Typically I do