Re: getting rid of multiple consecutive blanks ?

John Markley <[email protected]> Mon, 26 Oct 2009 17:09:30 -0400
Newsgroups gmane.comp.handhelds.palm.peditors
Message-ID <[email protected]>
Quoting Voytek Eymont <[email protected]>:
> Pls check:
>
> {LFdelete::
> /&runtimeInit[]
> /xEpro f
> /xEpro T/xEpro W/xEpro R/xEpro r
> /p10 /p10
> /&script$[@@LFd2@@]}
> {LFd2::
> /&tap i[080,080]
> /&script$[@@LFd3@@]}
> {LFd3::
> /p10
> /xEpro f  A
> /&script$[@@LFd4@@]}
> {LFd4:: d}
>
> still not quite there:
> I keep getting 'Ad' after each pass...
> And LF are sticking
>
> Voytek Eymont

   The pScript as you have it written is correct, and is identical to  
what I have, which is working ok.  The 'Ad' means that the script is  
not running correctly and is printing the "A" in /xEpro f  A, and the  
"d" in {LFd4:: d} as if they were text rather than tokens.  I would  
expect that the /&runtimeInit[] at the start of the pScript might  
prevent this, but evidently not.  Don't know why, could troubleshoot  
with debugging tokens, but first just try doing a simple soft (pin)  
reset and see if it runs ok after that.

   Meanwhile, I'm working on the   xxxxxxx:   colon-terminated string  
removal problem.

   ~ 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/