home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
trl14db.zip
/
TRLPRG.EXE
/
WPSTRIP.PRG
< prev
next >
Wrap
Text File
|
1990-10-22
|
696b
|
30 lines
***********
* WPSTRIP.PRG
* by Tom Rettig and Leonard Zerman
* Placed in the Public Domain by Tom Rettig Associates, 10/22/1990.
*
* SYNTAX: DO WPSTRIP WITH <expC>, <spaces par tab>/<null>
* RETURN: <expC> with CR,LF and tab characters replaced by spaces.
* NOTE : <null> defaults to 1.
***********
PARAMETERS par1, par2
CALL Trpass WITH par1
* Optional second parameter
IF TYPE("par2") = "C"
IF [] = par2
par2 = 1
CALL Trpass WITH par2
ENDIF
ELSE
CALL Trpass WITH par2
ENDIF
CALL Trexe WITH "WPSTRIP"
CALL Trexe WITH "TRRETCLEN"
IF fox
PRIVATE tr_temp
tr_temp = SUBSTR(tr_retc,1,tr_retn)
RETURN (tr_temp)
ENDIF
* eof wpstrip *