This compiler error will occur if there is any text (even comments) after a line continuation marker.
For example:
var
sDateCode
begin
sDateCode = IntToStr(n_TokenDay) + -> // the day
IntToStr(n_TokenMonth) + -> // the month
IntToStr(n_TokenYear) // the year
end
If you really must have comments on every line of a multi-line expression, then we suggest that you enclose your comments in {} comment delimiters and place them on each line before the line continuation marker.
See also: comments.
Topic 109700, last updated on 18-Apr-2020