Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-16 Thread Joost van der Sluis
Op 09-05-18 om 03:41 schreef Ryan Joseph: Ok it finally worked. The fpmake.pp file athttps://svn.freepascal.org/svn/projects/pas2js/trunk was totally different than the one in the compiler sources. May I suggest you put these instructions at the top level of the wiki? It’s pretty easy but I

Re: [fpc-pascal] Copy dynamic array

2018-05-16 Thread denisgolovan
> What would the expected behavior be for pointers inside records? What if > the record is actually a linked list? Or includes classes and objects? > Do we run the constructor or no? If the record has file handles do we > attempt to recreate their state? (perhaps running assign again, and > crossin

Re: [fpc-pascal] Copy dynamic array

2018-05-16 Thread Alexander Grotewohl
What would the expected behavior be for pointers inside records? What if the record is actually a linked list? Or includes classes and objects? Do we run the constructor or no? If the record has file handles do we attempt to recreate their state? (perhaps running assign again, and crossing our

Re: [fpc-pascal] FPC on Android tablets: ARM, x86_64

2018-05-16 Thread Mark Morgan Lloyd
On 11/05/18 15:15, Alexander Grotewohl wrote: FPC for ARM works correctly with termux, but the program to generate fpc.cfg does not, requiring some manual configuration to get it to find the included units, etc. Apparently requires libpthread, which in our case we have not got. Is this really

Re: [fpc-pascal] Copy dynamic array

2018-05-16 Thread denisgolovan
Doing the same conceptual thing using different syntax does not seem right as generics, macros and other nice stuff become clumsy and too verbose. See // program project1; {$mode objfpc} type TRec= record A:array of integer;