assignments



Ren? K?lin <renekaelin at gmx.ch> writes:

> Dear list
>
> I've got two lists:
>
> vars:[x,y];
> vals:[1,2];
>
> I'd like to get the following assignments:
> x=1;
> y=2;
>
> So that e.g. the input x+y shows the output 3.
>
> Thanks for your help.

vars :: vals;

should do the trick. See 

? ::

for more information.

Leo