Re: getting rid of multiple consecutive blanks ?

John Markley <[email protected]> Wed, 28 Oct 2009 21:12:26 -0400
Newsgroups gmane.comp.handhelds.palm.peditors
Message-ID <[email protected]>
Quoting John Markley <[email protected]>:

>    The ColonDelete has serious problems.  I'm going to need to start  
> over on this one.
>

OK, Voytek - brand new Colon Delete pScript, works great, give it a  
try.  Will email you your test memo on which I have run LFdelete once,  
then SPdelete once, the the new Colon Delete once, then the LFdelete  
again.

{ColonDelete::
/&runtimeInit[]
/xEpro f
/xEpro T/xEpro W/xEpro R/xEpro r
:
/xEpro f
/&script$[@@CD2@@]}
{CD2::
/&ifAbort@[$&==0]
/&ifScript@[$&>0,@@CD3@@]}
{CD3::
/0x1C
/xEpro s1
/&control[@@bWord@@]
/&script$[@@CD3A@@]}
{CD3A::
/&script$[@@CD3AA@@]}
{CD3AA::
/e#
/&ifScript@[$$!=0,@@CD3C@@]
/&ifScript@[$$==0,@@CD3B@@]}
{CD3B::
/0x1D/0x1D
/&script$[@@CD3D@@]}
{CD3C::
/0x1D/0x1D
/0x08 ;
/&script$[@@ColonDelete@@]}
{CD3D::
/0x1C
/xEpro j 1
/&control[@@bLine@@]
/&script$[@@CD4@@]}
{CD4::
/&script$[@@CD5@@]}
{CD5::
/e@
/&ifScript@[$$==58,@@CD7@@]
/&ifScript@[$$!=58,@@CD6@@]}
{CD6::
/0x1D
/0x08
/&script$[@@CD5@@]}
{CD7::
/0x1D
/0x08
/&script$[@@ColonDelete@@]}


     ~ John


------------------------------------

Latest pedit/pToolSet/LapTopHack at http://www.osuweb.net/~pc/pca/pc_all.zip
pedit/pToolSet/LapTopHack scripting info/resources at http://www.peditors.com
Peditors Forum http://groups.yahoo.com/group/peditors
Unsubscribe by writing to peditors-unsubscribe-hHKSG33Tihh4sT85+ipIM4ckdKdSAMto@public.gmane.org! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/peditors/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/peditors/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/