<div dir="ltr">Alright, so I&#39;m unsure if maskout is really the option I need for both of these, but is there anyway to take any value less than 1 (even negatives) and replace them with 10? I seem to be able to do that with: <br clear="all"><div><br></div><div>&#39;define negto10= skip(const(maskout(zcomp,zcomp-0), 10, -u), 8, 8)&#39;<br></div><div><br></div><div>That gives me all positive numbers, great so far. Now, I&#39;d like to also change the results of negto10 and turn all numbers larger than 41 to 40. I can&#39;t seem to figure that part out. I&#39;ve tried all sorts of variants of:</div><div><br></div><div>&#39;define mor4140 = skip(const(maskout(negto10,negto10+41), 40, -u), 8, 8)&#39;<br></div><div><br></div><div>all with no luck. Any thoughts?</div>
</div>