cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

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

eyang
1-Visitor

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-

ACCEPTED SOLUTION

Accepted Solutions
AlanStevens
17-Peridot
(To:eyang)

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

View solution in original post

1 REPLY 1
AlanStevens
17-Peridot
(To:eyang)

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

Announcements

Top Tags