Re: [fpc-pascal] TFPGMapObject duplicate errors

2020-10-02 Thread Ryan Joseph via fpc-pascal
> On Oct 1, 2020, at 7:00 PM, Vojtěch Čihák via fpc-pascal > wrote: > > I looked to code, it gives error only when map is Sorted=True. > Thanks. Sneaky that sorted had to be set to true. Not sure why that would be. Regards, Ryan Joseph __

[fpc-pascal] Merging units

2020-10-02 Thread Ryan Joseph via fpc-pascal
Something that's bothered me for a while I wanted to ask about. I have a package I want to distribute which has 2 or more units, all of which are required to use the package. Technically all the code should be in one file but because units are a nice feature of Pascal we like to keep our code s

Re: [fpc-pascal] Merging units

2020-10-02 Thread Sven Barth via fpc-pascal
Am 02.10.2020 um 19:55 schrieb Ryan Joseph via fpc-pascal: Any ideas of solutions or preferred approaches? Is it feasible to add an "imports" clause to Pascal or are there other pitfalls? The preferred solutions are indeed either to put everything in one unit (includes or not) or to have the us

Re: [fpc-pascal] Merging units

2020-10-02 Thread Marco van de Voort via fpc-pascal
Op 2020-10-02 om 19:55 schreef Ryan Joseph via fpc-pascal: Something that's bothered me for a while I wanted to ask about. I have a package I want to distribute which has 2 or more units, all of which are required to use the package. Technically all the code should be in one file but because