[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: format directive problem



In article <bambi-1201951644300001@wi6a66.informatik.uni-wuerzburg.de> bambi@informatik.uni-wuerzburg.de (Stefan K. Bamberger) writes:
>I want to use the ~ directive to break up my program code in more suitable
>lines.
>As I won't get the NEWLINE and the SPACES I wrote ~:@.
>Unfortunately that will result in an error in MCL2.0.1.

If you want to throw away both the NEWLINE and the SPACES, you should give
*no* modifiers to ~<newline>.  CLtL says:

    Tilde immediately followed by a newline ignores the newline and any
    following non-newline whitespace characters.

You only need the : or @ modifier if you want to ignore one but not the
other.
-- 

Barry Margolin
BBN Internet Services Corp.
barmar@near.net