Delphi can be a bit funny about that. IIRC the problem is that Delphi gets confused about where the end of line characters are. Try opening the sdl.pas file in WordPad, then save it over itself as a text file. Then try it again in Delphi. Hopefully WordPad will sort out the EOL/CR issue.