Skip to main content
1-Visitor
October 31, 2011
Question

Local Assignment Operator in a Program

  • October 31, 2011
  • 2 replies
  • 5340 views

Is it bug or not?

0.jpg1.jpg

2 replies

1-Visitor
October 31, 2011

A few comments in the attached sheet.

Mike

andmail1-VisitorAuthor
1-Visitor
October 31, 2011

Thank you for your quick reply. But I mean why do I have to define "c" in my last program 2 times? In worksheet and in program? Without it I can not get the right result. I think it would be right to define "c" one time in worksheet, isn't it?

1-Visitor
October 31, 2011

It must be a bug, see below.

Clipboard01.jpg

Mike

andmail1-VisitorAuthor
1-Visitor
October 31, 2011

So, is this thread is a bug report, or not? It would be great to correct this bug

For simple understanding:

1.jpg

Form MC help:

Local variables or functions defined with this operator may be assigned to values from the worksheet. For example, it's possible to define a:=2 in your worksheet, then define a local variable b ← a inside a program.

Mathcad 15.0 (M010 [MC15_M010_20110622])

PS: Does this bug manifests in other versions of MC? I do not know, because I've just begin to use MathCAD.

1-Visitor
October 31, 2011

I would suggest upgrading your to the latest version of M15.

Mike

1-Visitor
November 3, 2011

I think he wrote he is using M010 which as far as I know ist the latest version, isn't it

WR