[fpc-pascal] %LINENUM%

Adriaan van Os adriaan at adriaan.biz
Thu Jan 11 16:55:44 CET 2024


Section 1.2.41 of the Free Pascal Programmer’s Guide version 3.2.0 says:

	"As a result, this will generate a macro with the value of the XXX specifier, as if it were a 
string (or, in the case of LINENUM, an integer)."

I don't think this is correct, or at least requires clarification. One can not insert integers (as 
such) into a text stream. I think, the correct description is:

	"As a result, this will generate a macro with the value of the XXX specifier, as a quoted string 
(or, in the case of LINENUM, as an unquoted string)."

Regards,

Adriaan van Os





More information about the fpc-pascal mailing list