Skip to main content
1-Visitor
March 27, 2014
Solved

Error with For Loop Return Value

  • March 27, 2014
  • 1 reply
  • 1982 views

I apologize in advance if this is an easy quick, but I am new to Mathcad. I found the attached For Loop example online and would like to modify it to use, however I am receiving the following error "Variable is undefined." I copied the example verbatim and from what I could find online, the syntax looks correct. Can anyone provide comments on why I am receiving this error?

Thanks.

Best answer by MikeArmstrong

Firstly never apologise for asking questions.

Have a look if the attached helps. You use text subscript instead of a vector subscript (keystroke [ ) operator.

1 reply

1-Visitor
March 27, 2014

Firstly never apologise for asking questions.

Have a look if the attached helps. You use text subscript instead of a vector subscript (keystroke [ ) operator.

19-Tanzanite
March 27, 2014

Firstly never apologise for asking questions.

Never? Even if, for example, you asked your wife why it was such a big deal that you forgot your 10th wedding anniversary?

big_grin.gif

1-Visitor
March 27, 2014

Brilliant.

I think would have to come under the 'rhetorical question' category though.