home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
trl14db.zip
/
TRLPRG.EXE
/
FILEWRIT.PRG
< prev
next >
Wrap
Text File
|
1990-10-22
|
549b
|
22 lines
***********
* FILEWRITE.PRG
* by Tom Rettig and Leonard Zerman
* Placed in the Public Domain by Tom Rettig Associates, 10/22/1990.
*
* SYNTAX: DO FILEWRITE WITH <filespec>, <text>
* RETURN: <expC> "DONE" if written successfully
* <expC> error message if any trouble
***********
PARAMETERS par1, par2
CALL Trpass WITH par1
Call Trpass WITH par2
CALL Trexe WITH "FILEWRITE"
CALL Trexe WITH "TRRETCLEN"
IF fox
PRIVATE tr_temp
tr_temp = SUBSTR(tr_retc,1,tr_retn)
RETURN (tr_temp)
ENDIF
* eof filewrite *