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

2021-12-26 Thread James Richters via fpc-pascal
I can put some more thought into it.. but I'm wondering how to properly submit a change request for this documentation. James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

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
Il Grande Beppe via fpc-pascal Sent: Thursday, December 23, 2021 7:12 PM To: FPC-Pascal users discussions Cc: Il Grande Beppe Subject: [fpc-pascal] {$include %dateyear%} Hello All, I'm reading https://www.freepascal.org/docs-html/prog/progsu41.html It seems to me that {$include %dateyear%

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

2021-12-24 Thread James Richters via fpc-pascal
Il Grande Beppe via fpc-pascal Sent: Thursday, December 23, 2021 7:12 PM To: FPC-Pascal users discussions Cc: Il Grande Beppe Subject: [fpc-pascal] {$include %dateyear%} Hello All, I'm reading https://www.freepascal.org/docs-html/prog/progsu41.html It seems to me that {$include %dateyea

[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 b