I have a list of more than 5000 entries, both positive
and negative values. I try to add it as DLST. I get a
garbage value at position 2048 and it stops at 0x0C01.
Please see the attached cosinus.rcp which I included
into my main.rcp file just at the beginning.
Henk Jonas
metaview@web.de
added to main.rcp using #include "cosinus.rcp" at the beginning of main.rcp
Logged In: YES
user_id=4669
It's not the length of the list that's causing the problem, but rather the
negative entries which are treated as expressions to be evaluated,
because we don't have a unary minus. That is - as usual, you've been
bitten by PilRC's crappy syntax.
e.g. "longwordlist id 1 begin 1 12 -5 2 end" gives (1 7 2) because that's
what 12-5 evaluates to. You can get the desired result with e.g. "begin 1
12 (-5) 2 end", but to be sure that's going to get tedious fast.
There may be a viable solution, but it'll require some thought.