On Tue, 21 Feb 2012 13:53:19 -0600, McKown, John wrote: >Me again. With a weird UNIX vi mindset thought. It might be nice if FLOWASM could replace TABS (0x05) in my source, which are not in a string, with a blank. If it weren't for the "not in a string", it would be a simple TR. I'm thinking that it would likely be easiest to simply do a loop, looking at each character in the buffer and replacing it with a blank, unless within a string. Is there any reason why this would cause a problem?
The "not in a string" part is tricky with the HLASM language. An apostrophe does not start a string if it is part of an attribute reference (e.g. L'), nor if it is in the remarks field. Why not simply replace all tabs with blanks? Anyone foolish enough to use tab characters in strings gets what they deserve if they ever transfer the source. David
