On Feb 17, 5:27=A0am, Roy <roy.van.r...@[EMAIL PROTECTED]
> wrote:
> I think I could add one more line of code, that would allow me to
> double the scanned positions. But the drawback is that it will also
> need more tablespace. It would be cool to have a function that works
> with both >tabvalue and <tabvalue, but I don't think that is very
> managable.
I spent a couple days doing the math for one of those, also <tabvalue
followed by another <tabvalue. It required using substitutions like
qM*qMod =3D 2 instead of 1. Eventually I realized that the separation
between those scans was 1 :-)
There may be a solution using a- and b- tabs. For example using only
one Tab and a multiplier:
qIncr dat x,x
qTab dat A,B
sne ptr+qA*qDist , ptr+q*qDist+qStep
seq {qTab , ptr+(qA-1)*qDist+qStep
jmp
sne ptr+qB*qDist , ptr+qB*qDist+qStep
seq <qTab , ptr+(qB-1)*qDist+qStep
jmp
mul.f qIncr ,qTab
repeat scans with new values
If x was an imp number, you could create a useable series of values
with repeated multiplictions.
P. Kline


|