Re: [fpc-pascal] Dynamic array bug

2018-11-07 Thread silvioprog
On Thu, Nov 8, 2018 at 1:13 AM silvioprog wrote: > On Wed, Nov 7, 2018 at 11:06 PM Ryan Joseph > wrote: > >> I read the old thread and we need to add {$modeswitch arrayoperators} to >> make it work. a += [4] does work now. >> >> Also I found the thread where Sven said he fixed the "Incompatible

Re: [fpc-pascal] Dynamic array bug

2018-11-07 Thread silvioprog
On Wed, Nov 7, 2018 at 11:06 PM Ryan Joseph wrote: > I read the old thread and we need to add {$modeswitch arrayoperators} to > make it work. a += [4] does work now. > > Also I found the thread where Sven said he fixed the "Incompatible types: > got "Set Of Byte” bug in r39554 ( >

Re: [fpc-pascal] Dynamic array bug

2018-11-07 Thread Ryan Joseph
> On Nov 7, 2018, at 10:12 PM, silvioprog wrote: > > Anyway, it doesn't compile in FPC (tested in both delphi and objfpc modes). > I read the old thread and we need to add {$modeswitch arrayoperators} to make it work. a += [4] does work now. Also I found the thread where Sven said he fixed

Re: [fpc-pascal] Dynamic array bug

2018-11-07 Thread Ryan Joseph
> On Nov 8, 2018, at 8:35 AM, Ryan Joseph wrote: > > Do you want me to file a new bug report for := operators? I just filed a report just in case. https://bugs.freepascal.org/view.php?id=34526 Regards, Ryan Joseph ___ fpc-pascal maillist

Re: [fpc-pascal] Dynamic array bug

2018-11-07 Thread silvioprog
On Wed, Nov 7, 2018 at 12:09 PM Ryan Joseph wrote: > > > On Nov 7, 2018, at 9:31 PM, silvioprog wrote: > > > > Yes, it works. But only on Delphi: > > > > That’s too bad, I don’t use Delphi mode. Should be in Objfpc mode also > right? Oops... I meant "in Delphi compiler". ^^' Anyway, it

Re: [fpc-pascal] Dynamic array bug

2018-11-07 Thread Ryan Joseph
> On Nov 7, 2018, at 9:31 PM, silvioprog wrote: > > Yes, it works. But only on Delphi: > That’s too bad, I don’t use Delphi mode. Should be in Objfpc mode also right? Regards, Ryan Joseph ___ fpc-pascal maillist -

Re: [fpc-pascal] Dynamic array bug

2018-11-07 Thread silvioprog
On Wed, Nov 7, 2018 at 3:39 AM Ryan Joseph wrote: > Good to know. I reported this before and Sven said it was fixed in an > update (after another user had submitted the original patch). > > Are you able to get a := a + [4]; to work? I’m looking Sven’s old message > titled "Feature announcement:

Re: [fpc-pascal] Constants in generics

2018-11-07 Thread denisgolovan
Does this trick also work for declaring arrays using "val"? BR, Denis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Constants in generics

2018-11-07 Thread Martin
On 06/11/2018 08:13, Ryan Joseph wrote: I implemented a first draft of constants (integers) in generics. My reason was specifically that I wanted a way to add methods to static arrays and generic records is the only way to accomplish this AFAIK. If I fix this up will it be considered as a

Re: [fpc-pascal] Firebird vs. SQLite vs. PosgreSQL

2018-11-07 Thread Elmar Haneke
> I've read the Firebird webpage and installed it but I can't seem to > find documentation on how it compares to SQLite and PostgreSQL. My > high level understanding is that it sits somewhere it between but I'm > looking for more in depth comparisons on performance, data integrity > tests and