Hi Fred,
Maybe I'm wrong, but it appears to me that you didn't understand the
crucial difference between [x:=3, y:=4] and prog(x:=3,y:=4). In the
first case, x and y will have the corresponding values after
INPUTTING that line, in the second case x and y will have those
values only after SIMPLIFYING that line. After all, prog(x:=3, y:=4)
is a program, as its name says, and programs will never be started
automatically in input mode.
Hope this helps,
Johann
At 16:47 01.05.2009, you wrote:
>I created a file a.mth with the contents of:
>
>PROG(x:=3, y:=4)
>[a:=1, b:=5]
>x+a
>
>I started Derive 6.10
>I did
> File
> Open
> a.mth
>
>I did Simplify, Basic the x+a line and got
> x + 1
>
>---
>Fred J. Tydeman Tydeman Consulting
>[log in to unmask] Testing, numerics, programming
>+1 (775) 358-9748 Vice-chair of PL22.11 (ANSI "C")
>Sample C99+FPCE tests: http://www.tybor.com
>Savers sleep well, investors eat well, spenders work forever.
|