Jimmie
10-06-2004, 07:10 AM
I'm just moving from APMS4 to APMS5 and I'm having trouble figuring out how to edit a text file based on user supplied information. In version 4 I used:
TextFile.DeleteLine("%SrcDir%\BIN\autoplay.dat",1)
TextFile.InsertLine("%SrcDir%\BIN\autoplay.dat","%_ContractID%",1)
I need to search and replace text or a known line number. How can this be done in version 5.
Any help would be appreciated.
TextFile.DeleteLine("%SrcDir%\BIN\autoplay.dat",1)
TextFile.InsertLine("%SrcDir%\BIN\autoplay.dat","%_ContractID%",1)
I need to search and replace text or a known line number. How can this be done in version 5.
Any help would be appreciated.