From: Scott W. <swa...@my...> - 2002-11-05 19:26:10
|
On Tue, 5 Nov 2002, Rene Lesouef wrote: > Hello, > > A easy usefull tool. Thanks ;) > > I get MSG "BAD ARGUMENTS FOR OVERFLOW' when i try to enter long script > going on the second line. > For ex: (+ %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12) > Have you got any idea or bypass Yes. It looks like you've got too many arguments for the '+' operator. Currently arguments are limited to somewhere around 10 or so, this helps ensure that memory requirements remain reasonable. I believe this is documented in the script readme. Anway, the way around this is to either break up your script to use two fields (one as an intermediate calculation) or simply to rearrage your arguments so that the limited stack does not overflow. Some experimentation may be necessary, but I think this would work: (+ (+ %1 %2 %3 %4) (+ %5 %6 %7 %8) (+ %9 %10 %11 %12)) if it all fits in the limited text space that is ;) -Scott |