[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Converting TABS to equivalent SPACES ? -- Correction



Whoops! Dropped a character from the Xy4+ version of the "convert tabs to
hard spaces" routine posted yesterday. Here's a correction, with one
improvement (removes the requirement to SetInsert), and organized this
time as a Help frame, suitable for direct insertion into U2:

Xy4+:
XPLeNCODE v2.0
b-gin [UNTITLED]
{{;5tabs2spaces}} Convert tabs to hard spaces, from current <
CP> to EOF RJH+CLD 10/5/03[cr|lf]{002}[BX_]es 1[Q2_]{<}SX50,
{<}CP{>}{>}[WG_][BF_]{<}LBA{>}[BX_]seb {tab}[Q2_]{<}IF@NOT({
<}ER{>}){>}{<}IF{<}CP{>}>={<}PV50{>}{>}[CR_]{<}SX01,{<}CL{>}{
>}[BD_]{<}SX01,{<}PV01{>}-{<}CL{>}{>}{<}SV02,{>}{<}CUB,01{>}{
<}SX02,{<}IS02{>}+" "{>}{<}LBB{>}{<}GT02{>}{<}GLA{>}{<}EI{>}{
<}EI{>}[JM_]2.ReJuMP[Q2_]{<}PRDone{>}{002}[cr|lf]
-nd
XPLeNCODE

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------