Fandom

Delphi Programming

Delphi IDE Doesn't Handle Unix Line Feeds

2,918pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

The Delphi IDE and compiler don't handle Unix line feeds consistently. The end result is typically only noticed when debugging. When you step through the application code you'll notice that the blue dots in the gutter that indicate compiled lines don't match up to the actual lines. The solution to this problem is to use a Unix-to-DOS text file conversion utility such as BWTEXT to remove the invalid LF characters and replace them with CR-LF character pairs.

Also on Fandom

Random Wiki