Not looking at your script, here is a solution for you. I usually Mark positions, do a compute changing valids to 1 and invalids to 0, then run that through Include.

output = Mark("data");
output = Compute("a.0 > 5 && a.0 < 10 && a.1 > 3 && a.1 < 20?1:0", output);
output = Include(output, 1, 1, 0, 1, 0 );

David

I want to exclude the positions in a regular grid having two specific vector
values. So, I chained two Includes together.
Either one works by itself, excluding a single value.  But if I chain them
together, all positions in the dataset are marked invalid, not just those with
the specified values.

The attached script demonstrates ("dx -script include_bug.scr").  Notice the
"invalid positions" value printed.
Any thoughts as to what's going on?

Thanks,

Randy


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Content-Type: application/x-unknown; name="include_bug.scr"
Content-Description: include_bug.scr
Content-Disposition: attachment; filename="include_bug.scr"

Attachment converted: Powder1:include_bug.scr (????/----) (00038AB3)


--
.............................................................................
David L. Thompson                          The University of Montana
mailto:[EMAIL PROTECTED]                 Computer Science Department
http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
                                           Work Phone : (406)257-8530

Reply via email to