On 2018-12-31 02:54, Martok wrote:
There is a hint for such parameters even though the compiler knows
they
always contain a valid value, because valid in the sense of "won't
crash
the program" is not the same as "this is what the programmer
intended".
Are you baiting me, or was that accidenta
On Mon, 31 Dec 2018, Martok wrote:
1) Dynamic arrays are initialised with nil, but that is an
implementation detail
Is it, though? Global variables and instance fields are zero-filled, local
variables as if the local variable block was a record passed to Initialize()
(so, recursively zeroing
Just wondering whether the deceased's family requires any financial
assistance?
If yes, maybe we can throw a fund raiser.
Dennis
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi,
OpenSuse Tumbleweed 64-bit (in a VirtualBox VM under Win10)
Installed fpc 3.0.4 form rpm.
(b.t.w. when clicking on the link for
ftp://ftp.hu.freepascal.org/pub/fpc/dist/3.0.4/x86_64-linux/rpm/fpc-3.0.4-1.x86_64.rpm
(on the downloadpage at
https://www.freepascal.org/down/x86_64/linux-hungary.h
Also, rpm -i fpc-3.0.4-1.src.rpm seems to do nothing?
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Happy new year, everyone!
Am 31.12.2018 um 10:22 schrieb Michael Van Canneyt:
> Cultural note:
> For native english speakers the above may be somewhat farfetched: But in Dutch
> and French, spelling and grammar are not ruled by custom, but are strictly
> managed
> by official language committee
First, I agree clearing dynarrays with :=nil is somewhat cleaner than
Setlength(0). (Small issue: I only learned that this is even a thing from the
compiler implementation of it when I was debugging #0031215! From the reactions
of other Delphi developers I showed it to, it is _very_ uncommon.) Init