Re: [fpc-pascal] Adding a array of float in ressource and use it ?

2017-03-04 Thread fredvs
> What are you trying to achieve? Hello and thanks for answer. Huh, I realize that what I ask is stupid. Of course that array of float must be saved into file to be insered as ressource. I want to save a buffer of audio samples (a array of float) and use that saved file as ressource for a

Re: [fpc-pascal] Feature announcement: Management Operators

2017-03-04 Thread Hans-Peter Suter
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 ;-)

Re: [fpc-pascal] Feature announcement: Management Operators

2017-03-04 Thread Benito van der Zander
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:

Re: [fpc-pascal] Feature announcement: Management Operators

2017-03-04 Thread Michael Van Canneyt
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

Re: [fpc-pascal] Feature announcement: Management Operators

2017-03-04 Thread noreply
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

Re: [fpc-pascal] Feature announcement: Management Operators

2017-03-04 Thread noreply
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

Re: [fpc-pascal] Adding a array of float in ressource and use it ?

2017-03-04 Thread Sven Barth via fpc-pascal
Am 04.03.2017 16:06 schrieb "fredvs" : > > Hello. > > Is it possible to add a array of float into ressource ? > > For example, there is myarray : array of cfloat. > > Is it possible to store that array myarray ressource and, when I want to use > it from ressource, I get also a

Re: [fpc-pascal] class operator in record

2017-03-04 Thread noreply
On 2017-03-01 03:06, Graeme Geldenhuys wrote: On 2017-03-01 02:39, nore...@z505.com wrote: How come: class operator Initialize(var aFoo: TFoo); class operator Finalize(var aFoo: TFoo); in a record are called class operator.. why not "record operator"? hahaha... You are asking all

[fpc-pascal] Adding a array of float in ressource and use it ?

2017-03-04 Thread fredvs
Hello. Is it possible to add a array of float into ressource ? For example, there is myarray : array of cfloat. Is it possible to store that array myarray ressource and, when I want to use it from ressource, I get also a array of float ? In wiki : http://wiki.freepascal.org/Lazarus_Resources

Re: [fpc-pascal] FPC 3.0.2 released!

2017-03-04 Thread Bo Berglund
On Sat, 04 Mar 2017 09:24:22 +0100, Bo Berglund wrote: >(is there a command switch to just print the version? Found it: $ /home/pi/bin/ppcarm -iW 3.0.2rc1 -- Bo Berglund Developer in Sweden ___ fpc-pascal maillist -

Re: [fpc-pascal] FPC 3.0.2 released!

2017-03-04 Thread Bo Berglund
On Fri, 3 Mar 2017 12:59:23 +, Mark Morgan Lloyd wrote: >On 02/03/17 06:00, Bo Berglund wrote: >> On Wed, 1 Mar 2017 22:04:26 +0100, Jonas Maebe wrote: >>> On 01/03/17 21:55, Bo Berglund wrote: >> Am I still supposed to use 2.6.4 as