home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume2 / pstrings / part01 / writelnS.p < prev    next >
Encoding:
Text File  |  1991-08-07  |  241 b   |  18 lines

  1.  
  2.  
  3.  
  4.  
  5. # include "strings.h"
  6.  
  7. procedure writelnS{(var f: Text; s: String)};
  8. {
  9. * Write the dynamic string s to file f followed by an eoln marker
  10. *
  11. * precondition:
  12. *    f open for writing    
  13. }
  14. begin
  15.     writeS(f, s);
  16.     writeln(f)
  17. end{ -- writelnS};
  18.