Re: Reassignment to Val
On Monday July 6 2009, Joob wrote:
> Well,
>
> I declared the list as a "var" in my main
>
> However it is a function parameter where I have the error
>
> What do I have to do to make sure it stays a "var" and not a "val" ?
> (If that is what I have to do, maybe I'm misunderstanding)
You may prefix a formal parameter name with "var" to make it
reassignable.
Randall Schulz