Re: [fpc-pascal] {$include %dateyear%}

2021-12-24 Thread James Richters via fpc-pascal
I would agree that the documentation actually states quite clearly that they are ALL strings except %linenum% and the documentation should be improved to be accurate. Perhaps {$INCLUDE %XXX%} the {$INCLUDE} directive inserts a string or integer constant in the source code. Here XXX can be

Re: [fpc-pascal] 64 bit Linux syscall from 32 bit fpc program

2021-12-24 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 24. Dezember 2021, 23:02:03 CET schrieb Sven Barth via fpc-pascal: > Rainer Stratmann via fpc-pascal schrieb > > am Fr., 24. Dez. 2021, 15:04: > > Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc > > programm? > > No, because your program is running as a 32-bit

Re: [fpc-pascal] 64 bit Linux syscall from 32 bit fpc program

2021-12-24 Thread Sven Barth via fpc-pascal
Rainer Stratmann via fpc-pascal schrieb am Fr., 24. Dez. 2021, 15:04: > Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc > programm? > No, because your program is running as a 32-bit process and thus only has access to the 32-bit space of syscalls. Why, what do you want

Re: [fpc-pascal] Not available duties

2021-12-24 Thread Bart via fpc-pascal
On Fri, Dec 24, 2021 at 12:02 PM Adriaan van Os via fpc-pascal wrote: > I got a message from UPS this morning stating > > "! Duties, taxes, and fees totaling NaN are due for this delivery." > > Oops, I don't hope I will ever get a message from UPS > > "! Duties, taxes, and fees

Re: [fpc-pascal] FPC and WebAssembly

2021-12-24 Thread Michael Van Canneyt via fpc-pascal
On Fri, 24 Dec 2021, Ryan Joseph via fpc-pascal wrote: On Dec 24, 2021, at 8:13 PM, Michael Van Canneyt via fpc-pascal wrote: Our little contribution to a Merry Christmas for everyone... Nice work. I have a hard time wrapping my head around this. Can you just write plain HTML to

Re: [fpc-pascal] FPC and WebAssembly

2021-12-24 Thread Ryan Joseph via fpc-pascal
> On Dec 24, 2021, at 8:13 PM, Michael Van Canneyt via fpc-pascal > wrote: > > Our little contribution to a Merry Christmas for everyone... Nice work. I have a hard time wrapping my head around this. Can you just write plain HTML to STDOUT using writeln and that's enough? Regards,

Re: [fpc-pascal] FPC and WebAssembly

2021-12-24 Thread duilio foschi via fpc-pascal
Thank you for your precious work and happy winter solstice to everybody! :) On Fri, Dec 24, 2021 at 2:46 PM Jean SUZINEAU via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Wonderful ! > > Thank you very much for all your work and all the work of the FPC / > Lazarus team ! > > And Merry

[fpc-pascal] 64 bit Linux syscall from 32 bit fpc program

2021-12-24 Thread Rainer Stratmann via fpc-pascal
Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc programm? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC and WebAssembly

2021-12-24 Thread Jean SUZINEAU via fpc-pascal
Wonderful ! Thank you very much for all your work and all the work of the FPC / Lazarus team ! And Merry Christmas for all ! ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] [Pas2js] FPC and WebAssembly

2021-12-24 Thread Michael Van Canneyt via fpc-pascal
And yes, we can do graphics too: https://www.freepascal.org/~michael/pas2js-demos/wasienv/terminal/ That should obviously be: https://www.freepascal.org/~michael/pas2js-demos/wasienv/canvas/ My apologies for the mistake. Michael. ___ fpc-pascal

[fpc-pascal] FPC and WebAssembly

2021-12-24 Thread Michael Van Canneyt via fpc-pascal
Hello, I'm glad to anncounce that FPC now covers working with webassembly in the browser. Because pictures say more than a thousand words, 3 demos: A modest "hello, world" variation: https://www.freepascal.org/~michael/pas2js-demos/wasienv/simple/ A (limited) terminal emulation:

[fpc-pascal] Not available duties

2021-12-24 Thread Adriaan van Os via fpc-pascal
I got a message from UPS this morning stating "! Duties, taxes, and fees totaling NaN are due for this delivery." Oops, I don't hope I will ever get a message from UPS "! Duties, taxes, and fees totaling INF are due for this delivery." and with that I wish everybody a merry

[fpc-pascal] {$include %dateyear%}

2021-12-24 Thread Il Grande Beppe via fpc-pascal
Hello All, I'm reading https://www.freepascal.org/docs-html/prog/progsu41.html It seems to me that {$include %dateyear%} , {$include %datemonthr%}  and {$include %dateday%}  are treated as numbers in the source code, not a string as expected  from the description (only linenum is supposed to