On Fri, 25 Apr 2014, Charles Coldwell wrote:

> 
> I was recently doing a close reading of 
> 
> 'mlib_devel/xps_library/gen_xps_files.m'
> 
> and I found this on line 236
> 
>     if ~(strcmp(get_param(xps_blks(n), 'tag'), 'xps:xsg') || 
> strcmp(get_param(xps_blks(n), 'tag'), 'xps:pcore')),
>         try
>       % yadda, yadda
>         catch ex
>       % blah, blah
>         end
>     end
> 
> Staring at that predicate made me think.

I see what the problem is: I didn't parse the parens correctly.  The 
predicate is true if the tag matches neither 'xps:xsg' nor 'xps:pcore'.

Nothing to see here folks, move along.

-- 
Charles M. Coldwell, W1CMC
"Turn on, log in, tune out"
Belmont, Massachusetts, New England (FN42jj)

GPG ID:  852E052F
GPG FPR: 77E5 2B51 4907 F08A 7E92  DE80 AFA9 9A8F 852E 052F

Reply via email to