Funny compiler bug

str(EndOfLine) should work too.

Have you guys read my blog post about EndOfLine?
https://www.mbsplugins.de/archive/2020-11-28/All_about_EndOfLine

EndOfLine is the name of a class and a global function to return the object.
if you use EndOfLine as string, it calls Operator_Convert on the EndOfLine object.

EndOfLine should have a property “System” to return the system’s EOL. So a

Var StrSysOrNotEnded As String = If (AutoEol, EndOfLine.System, "")

Would work directly without “conversions”.