Skip to main content
1-Visitor
Feb 28, 2015 5:32 PM UTC
Solved

How do I get rid of "This variable is undefined"?

I'm using a while loop to evaluate a function. Then variables of the function is output for graphing purposes. However, I get an error message of "This variable is undefined"? How do I get rid of this message?

Thank you-

19-Tanzanite
Feb 28, 2015 7:02 PM UTC

1. Use vi not v in the while test. (Set initial value for i)

2. Don't reassign v to vi at the end of the while loop.

See attached.

Alan

1 reply

19-Tanzanite
Feb 28, 2015 7:02 PM UTC

1. Use vi not v in the while test. (Set initial value for i)

2. Don't reassign v to vi at the end of the while loop.

See attached.

Alan

Translate