Thanks to both of you. After I posted, I tried compling and got an error. So I can be pretty safe in assuming this code isn't actually used anywhere. I'm just trying to sort out what's important in all the junk in this system.
I think the programmer was pretty clueless. I ran across a similar program:
CLEAR
CLOSE ALL
SELECT PRIORITY ;
FROM M:\PRO\APDATA\APVEND10.DBF exclusive
REPLACE ALL apvend10.priority WITH LTRIM("2") FOR priority=LTRIM("3")
Tell me, what is the point of LTRIMing a constant with no leading spaces?!?
Sigh. At least this one figured out the "WITH" part.
Michelle
>Probably generates an error. There's no WITH value. If it's trying to what you think:
REPLACE ALL ICITEM10.HISTORY WITH NOT ICITEM10.HISTORY FOR NOT HISTORY
>* Or
>REPLACE ALL ICITEM10.HISTORY WITH .F. FOR NOT HISTORY
will do.