MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
procedure TMainForm.PrintStrings(Strings: TStrings); //sends the formula to the printer from the memo var Prn: TextFile; i: word; begin AssignPrn(Prn); try Rewrite(Prn); try for i := 0 to Strings.Count - 1 do writeln(Prn, Strings.Strings[i]); finally CloseFile(Prn); end; except on EInOutError do MessageDlg('Error Printing text.', mtError, [mbOk], 0); end; end;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.