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 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 after it's compiled.. because you can do things like Writeln('{$I %DATEMONTH%}'+'/'); And you wouldn't be able to do that with variables or any type... so it's really not any variable type, it's just numeric text being inserted. I don't really know what to call it, but integer seems to indicate it has a type, so I agree it should be distinguished from any specific variable type. James
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal