| el Sat, 25 Mar 2006 14:47:22 +0100
Victor Lazzarini escribió:
> The 'tab' opcodes can do that.
thanks victor, i wasn't aware of the new tab opcodes.
BTW, the manual page for tab says:
... Support non-power of two tables (can be generated by any GEN function by
giving a negative length value).
i wasn't aware of that either, and i couldn't find that mentioned anywhere
else in the manual.
if i may make a suggestion, perhaps it should be mentioned in the
f-statement page.
p3 -- Size of function table (i.e. number of points) Must be a power of 2,
or a power-of-2 plus 1 (see below).
could be something like (translated into proper english, of course):
"Ordinarily a power of 2, or a power-of-2 plus 1 (see below), it can take
any arbitrary size by setting this parameter to a negative value, but in
this case the table can only be accessed by certain special opcodes, like
loscil and tab."
also the gen01 page could be updated, mentioning that non-power-of-two can
be used not only by loscil but also by the tab opcode.
best,
lj |