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

2021-12-25 Thread Ched via fpc-pascal
Well, Writeln('{$I %DATEMONTH%}'+'/'); can be compiled, but the answer is... {$I %DATEMONTH%} . I think that my level of english is by far too low to make the correct sentence. Cheers, James, Raoul Le 25.12.21 à 21:06, James Richters a écrit : I see what you mean... I thought it was an In

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

2021-12-25 Thread James Richters via fpc-pascal
I see what you mean... I thought it was an Integer because If you do something like: Writeln({$I %DATEMONTH%}+'/'+{$I %DATEDAY%}+'/'+{$I %DATEYEAR%}); You get Error: Operator is not overloaded: "ShortInt" + "Char" But that's not what it is it's just like typing in hard coded numbers afte

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

2021-12-25 Thread Ched via fpc-pascal
Helolo James, Thank you for your comment and proposal. As there is no type associated with non-string results, would it be better to say number instead of integer ? Or integer number ? Season's greetings ! Cheers, Ched' Le 24.12.2021 à 22:32, James Richters via fpc-pascal a écrit : I woul

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

2021-12-25 Thread greim--- via fpc-pascal
Congratulations! and Frohe Weihnachten Markus --- original message --- On December 24, 2021, 2:16 PM GMT+1 fpc-pascal@lists.freepascal.org wrote: >> And yes, we can do graphics too: >> >> https://www.freepascal.org/~michael/pas2js-demos/wasienv/terminal/ > That should obviously b