Les Hazlett Posted February 1, 2005 Report Share Posted February 1, 2005 Hi, I am in the process of integrating two macros. I assumed that it would be faster to work with the data from the first macro without writing it to a file and reading it back with the second. However, it seems that using Text File Processing is so much faster than manipulating the large string, that it is actually slower. Perhaps someone can advise. The data (file) structure is lines ending with CRLF. I replaced the Text File Begin Process/Text File End Process loop with a Repeat Until/Repeat End loop which works fine. I capture the lines with the following instructions: Variable Set Integer %N5% with Postion of Text in Variable Variable Modify Integer: Dec (%N5%) Variable Modify String: Copy Par of %T98% to %T95% Variable Modify Integer: %N5% - %N5% + 2 Variable Modify String: Delete Part of %T98% This works but is slower than writing and reading text files. Thanks for any help, Les Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.