Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here

Translate the entire conversation x

Problems with "undefined variable" in program

ptc-5236541
1-Visitor

Problems with "undefined variable" in program

I am working on creating programs to iteratively model a differential equation.

i have been switching subscripts and the order of things, but it just keeps telling me that there is an undefined variable. and conveniently the "error tracing" doesnt actually specify what is undefined, so i dont even know exactly where the problem is.

1 REPLY 1
Werner_E
25-Diamond I
(To:ptc-5236541)

The indices in the second and third line of your programms are lowercase letter o's and not zeros. And variable o is not defined 😉

Announcements


Top Tags