On 2017-03-04 18:59, Hans-Peter Suter wrote:
> Go with modern times! It's the 21st century now ;-)
I am, that's why I am starting to use Java more and more. ;-) A very
nice language, multiple choices in IDE's, fantastic debugger, fantastic
contributions and ecosystem.
When I think Records, I thin
2017-02-28 21:50 GMT+01:00 Graeme Geldenhuys
:
> Records - well, I use them like they were defined
> in Delphi 7 and earlier. I really don't see the need for Records with
> Methods (ie: TP Objects) and such.
>
Go with modern times! It's the 21st century now ;-)
(For inspiration have e.g. a loo
Hi,
with a function call: http://bugs.freepascal.org/view.php?id=30333
I had benchmark runs where it spend more time in the initializing
function than doing any calculations
Best,
Benito
On 03/04/2017 06:41 PM, Michael Van Canneyt wrote:
On Sat, 4 Mar 2017, nore...@z505.com wrote:
On
On Sat, 4 Mar 2017, nore...@z505.com wrote:
On 2017-02-28 14:48, Jonas Maebe wrote:
On 28/02/17 21:40, nore...@z505.com wrote:
What happens with a stack allocated record?
(no new() required, nor dispose() so is the record ever
initialized/finalized?)
Yes, just like records that contain e.g
On 2017-02-28 14:48, Jonas Maebe wrote:
On 28/02/17 21:40, nore...@z505.com wrote:
What happens with a stack allocated record?
(no new() required, nor dispose() so is the record ever
initialized/finalized?)
Yes, just like records that contain e.g. an ansistring field.
Jonas
do records whi
On 2017-02-28 14:50, Graeme Geldenhuys wrote:
On 2017-02-28 20:40, nore...@z505.com wrote:
Sorry, I've been out of touch with what's happening with Records
lately
in modern pascal/delphi/etc.
Don't worry, I'm with you on that one. All I know is that
Borland/CodeGear/EMBT broken TP Objects som
On 2017-02-28 20:40, nore...@z505.com wrote:
> Sorry, I've been out of touch with what's happening with Records lately
> in modern pascal/delphi/etc.
Don't worry, I'm with you on that one. All I know is that
Borland/CodeGear/EMBT broken TP Objects somewhere in Delphi. Then they
decided they want
On 28/02/17 21:40, nore...@z505.com wrote:
What happens with a stack allocated record?
(no new() required, nor dispose() so is the record ever
initialized/finalized?)
Yes, just like records that contain e.g. an ansistring field.
Jonas
___
fpc-pascal
On 2017-02-28 05:20, Maciej Izak wrote:
It works correctly in all possible ways with RTL:
* New (Initialize)
* Dispose (Finalize)
What happens with a stack allocated record?
(no new() required, nor dispose() so is the record ever
initialized/finalized?)
Or stack records are forbidden?
One
2017-02-28 13:19 GMT+01:00 Michael Van Canneyt :
> You do now. I took care of that :)
Thanks ^^ now I can officially fix bugs related to new feature. Mhm.
Great... ;)
--
Best regards,
Maciej Izak
___
fpc-pascal maillist - fpc-pascal@lists.freepasca
On Tue, 28 Feb 2017, Michael Van Canneyt wrote:
On Tue, 28 Feb 2017, Maciej Izak wrote:
2017-02-28 12:28 GMT+01:00 denisgolovan :
Thanks a lot.
I guess http://bugs.freepascal.org/view.php?id=30687 should be closed now
:)
I don't have such powers ;)
You do now. I took care of that :)
On Tue, 28 Feb 2017, Maciej Izak wrote:
2017-02-28 12:28 GMT+01:00 denisgolovan :
Thanks a lot.
I guess http://bugs.freepascal.org/view.php?id=30687 should be closed now
:)
I don't have such powers ;)
You do now. I took care of that :)
But I set it to fixed for you. Seeing you were the
2017-02-28 12:28 GMT+01:00 denisgolovan :
> Thanks a lot.
> I guess http://bugs.freepascal.org/view.php?id=30687 should be closed now
> :)
>
I don't have such powers ;)
--
Best regards,
Maciej Izak
___
fpc-pascal maillist - fpc-pascal@lists.freepasc
Thanks a lot.I guess http://bugs.freepascal.org/view.php?id=30687 should be closed now :) -- Regards,Denis Golovan
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi,
I'm pleased to finally announce (again but now officially ;) ) the
additional record operators: Initialize, Finalize, AddRef and Copy.
Available in latest FPC trunk (r35485):
1. operator Initialize - is called after memory allocation for record (called
*after* FPC internal call recordrtti(dat
15 matches
Mail list logo