Re: [fpc-pascal] Dynamic array question

2023-01-11 Thread Joost van der Sluis via fpc-pascal
Vojtěch Čihák via fpc-pascal schreef op wo 11-01-2023 om 23:38 [+0100]: > is there a way how to have dynamic array "inside" another dynamic > array? Not in the way you want. You could define an 'array of array', though. Or an array of records that contain an array.   > program project1; > {$mode

Re: [fpc-pascal] Link on another host - how to collect and copy all files?

2021-12-13 Thread Joost van der Sluis via fpc-pascal
Op 13-12-2021 om 18:27 schreef Jonas Maebe via fpc-pascal: On 13/12/2021 18:02, Joost van der Sluis via fpc-pascal wrote: I've got into troubles with a dynamic library on Linux. It uses pthreads but on the target system glibc 2.24 is used, while on my development machine 2.34 is being

[fpc-pascal] Link on another host - how to collect and copy all files?

2021-12-13 Thread Joost van der Sluis via fpc-pascal
Hi all, I've got into troubles with a dynamic library on Linux. It uses pthreads but on the target system glibc 2.24 is used, while on my development machine 2.34 is being used. I've tried to copy the libc-libraries from the target system to my host and uxe -Xr -Xd, but it does not work. I

Re: [fpc-pascal] Pascal Ardiono (avr) library

2021-04-04 Thread Joost van der Sluis via fpc-pascal
Op 04-04-2021 om 15:43 schreef Florian Klämpfl via fpc-pascal: Am 04.04.2021 um 15:36 schrieb Joost van der Sluis via fpc-pascal : Op 04-04-2021 om 13:33 schreef Florian Klämpfl via fpc-pascal: Am 04.04.2021 um 12:50 schrieb Joost van der Sluis via fpc-pascal : Isn't it at le

Re: [fpc-pascal] Pascal Ardiono (avr) library

2021-04-04 Thread Joost van der Sluis via fpc-pascal
Op 04-04-2021 om 13:33 schreef Florian Klämpfl via fpc-pascal: Am 04.04.2021 um 12:50 schrieb Joost van der Sluis via fpc-pascal : Isn't it at least a good practice to store self at Y. So we have Z free for other calculations and can access members directly using ldd (),y+(). But

Re: [fpc-pascal] Pascal Ardiono (avr) library

2021-04-04 Thread Joost van der Sluis via fpc-pascal
Op 04-04-2021 om 12:50 schreef Joost van der Sluis via fpc-pascal: I came across some issues while doing this, but I can not remember all of them. Another one: (Also constant propagation) -O4, {$WRITEABLECONST OFF} # [19] a := DigitalPinToBitMask[5]; lds r18

Re: [fpc-pascal] Pascal Ardiono (avr) library

2021-04-04 Thread Joost van der Sluis via fpc-pascal
Op 03-04-2021 om 20:42 schreef Florian Klämpfl via fpc-pascal: Am 03.04.2021 um 19:49 schrieb Joost van der Sluis via fpc-pascal : Hi all, During some spare free time I've ported parts of the Arduino AVR library to Free Pascal. So now it is possible to use things like 'Digital

Re: [fpc-pascal] Pascal Ardiono (avr) library

2021-04-03 Thread Joost van der Sluis via fpc-pascal
Op 03-04-2021 om 21:14 schreef Dimitrios Chr. Ioannidis via fpc-pascal: Στις 3/4/2021 8:49 μ.μ., ο/η Joost van der Sluis via fpc-pascal έγραψε: During some spare free time I've ported parts of the Arduino AVR library to Free Pascal. So now it is possible to use things like 'Digital

[fpc-pascal] Pascal Ardiono (avr) library

2021-04-03 Thread Joost van der Sluis via fpc-pascal
Hi all, During some spare free time I've ported parts of the Arduino AVR library to Free Pascal. So now it is possible to use things like 'DigitalWrite' and 'Delay'. More info here: https://lazarussupport.com/introducing-pasduino-the-pascal-avr-arduino-library/ The library itself is at: ht

Re: [fpc-pascal] Lazarus complains that it cannot find a dependency, why?

2020-10-28 Thread Joost van der Sluis via fpc-pascal
Op 02-09-2020 om 00:21 schreef Bo Berglund via fpc-pascal: On Tue, 01 Sep 2020 23:55:08 +0200, Tomas Hajny via fpc-pascal wrote: Well, I believe that this supposed mystery may be resolved easily. ;-) First of all - have you tried to find out what does the displayed error number (232) mean? Qui

[fpc-pascal] New package to evaluate Pascal-expressions

2020-10-21 Thread Joost van der Sluis via fpc-pascal
Hi all, Working on fpDebug, I've got onto a side-track and created an expression-evaluator based on fcl-passrc . So that you can evaluate Pascal-expressions at runtime. Regards, Joost. ___ fpc-