home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / trl14db.zip / TRLPRG.EXE / FILEWRIT.PRG < prev    next >
Text File  |  1990-10-22  |  549b  |  22 lines

  1. ***********
  2. * FILEWRITE.PRG
  3. * by Tom Rettig and Leonard Zerman
  4. * Placed in the Public Domain by Tom Rettig Associates, 10/22/1990.
  5. *
  6. * SYNTAX: DO FILEWRITE WITH <filespec>, <text> 
  7. * RETURN: <expC> "DONE" if written successfully
  8. *         <expC> error message if any trouble 
  9. ***********
  10. PARAMETERS par1, par2  
  11. CALL Trpass  WITH par1
  12. Call Trpass  WITH par2
  13. CALL Trexe   WITH "FILEWRITE"
  14. CALL Trexe   WITH "TRRETCLEN"
  15. IF fox
  16.    PRIVATE tr_temp
  17.    tr_temp = SUBSTR(tr_retc,1,tr_retn)
  18.    RETURN (tr_temp)
  19. ENDIF
  20. * eof filewrite *
  21.  
  22.