Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2024-01

%LINENUM%

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Adriaan van Os

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

Reply by email