assignment needs improvement

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

assignment needs improvement

John-3
Hi all,

My first message. I realized that the assignment function needs improvement. Say I want to assign x=2 and y=5*x, I want to write:
assign (x=2,y=5*x)
I got an error message saying that x is not recognized.
I had to do this in two nested assignments:
assign(x=2)
{
    assign (y=5*x)
    {
        ....
    }
}

I hope this can be improved in the future so I don't have to have 3 nested assignments just to set my parameters. Thanks.

liudr