Re: [fpc-pascal] How to avoid Copy

2023-12-29 Thread Amir via fpc-pascal
On Dec 29, 2023 9:50 PM, Adriaan van Os wrote:Amir--- via fpc-pascal wrote: > Hi all, > >  I have a List of record, where the record has a WideString field. >   I have some code like the following: > > function check(constref v: TMyRecord; data: TListOfMyRecord): Boolean; > var >   r:

Re: [fpc-pascal] How to avoid Copy

2023-12-29 Thread Adriaan van Os via fpc-pascal
Amir--- via fpc-pascal wrote: Hi all, I have a List of record, where the record has a WideString field. I have some code like the following: function check(constref v: TMyRecord; data: TListOfMyRecord): Boolean; var r: TMyRecord; begin Result := False; for r in data do if r.State

[fpc-pascal] How to avoid Copy

2023-12-29 Thread Amir--- via fpc-pascal
Hi all,  I have a List of record, where the record has a WideString field.   I have some code like the following: function check(constref v: TMyRecord; data: TListOfMyRecord): Boolean; var   r: TMyRecord; begin   Result := False;   for r in data do     if r.State = v.State then  

Re: [fpc-pascal] Daily snapshots?

2023-12-29 Thread Thomas Kurz via fpc-pascal
Thank you. That's what I've been looking for. Maybe the documentation at https://www.freepascal.org/docs-html/user/userse76.html could be updated regarding the new URL? @Nico: Thanks for pointing me to Docker images, but I do not have Docker support on my Windows, unfortunately. I furthermore

Re: [fpc-pascal] Daily snapshots?

2023-12-29 Thread Marco van de Voort via fpc-pascal
Op 27/12/2023 om 12:38 schreef Thomas Kurz via fpc-pascal: as it seems to take longer for the next major release, I'd appreciate if automated snapshots could be provided either daily or weekly. In the documentation, I found a link to ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/ but I

Re: [fpc-pascal] Daily snapshots?

2023-12-29 Thread Nico Neumann via fpc-pascal
Hi Thomas, in case your platform allows to use Container images [1], you might give the Container images of FPC [2] a try. The beta image is for the next released version of FPC (fixes_3_2 branch) while the trunk/nightly uses the main branch. Depending on the image version you only need to