Dirk Laurie on Mon, 12 Nov 2012 20:24:26 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Using Mod inside functions


2012/11/12 Ewan Delanoy <ewan.delanoy@gmx.fr>:

>   Judging from the error message, the problem is related
> to my use of âModâ inside the function.
Nothing to do with Mod.

>   local(symb,temp,temp2,temp3,agatha);
This is equivalent to
     local(symb=0,temp=0,temp2=0,temp3=0,agatha=0);

You need "agatha" to be atomic.  Just take out "agatha"
from the list and it works.

Dirk