assignin
Set the value of a variable in a specified context.
assignin(context,variablename,value)
Inputs
context The string "caller" or "base" .
variablename A string which is the name of the variable to which the assignment is to be made.
value The value that is to be assigned.


Description
If the context is "caller" , the named variable within the function that called the current function is assigned the given value. If the context is "base" , the assignment is made in the main global context.

Note that the use of this function does not conform to the best programming practices as it leads to convoluted logic in many cases.
Example
>>function func(x)
>    assignin("caller","a",x+2)
>    assignin("base","b",x+10)
>end
>>func(10)
>>a
        12
>>b
        20
>>function g(x)
>   func(x)
>   "a in Context g \n",a,NL
>   "b in Context g \n",b,NL
>end
>>g(2)
a in Context g
         4
b in Context g
null

>>a
        12
>>b
        12