Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Translate the entire conversation x

Variable Undefined Error

vip
6-Contributor
6-Contributor

Variable Undefined Error

I'm getting the variable undefined error for variable "r".  Any suggestion?Variable UndefinedVariable Undefined

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:vip)

Delete the equal sign (evaluation) after the function definition!

B1.png

View solution in original post

6 REPLIES 6
LucMeekes
23-Emerald III
(To:vip)

Three suggestions:

1. Attach your worksheet. It is very hard, to sometimes impossible, to debug pictures. State which version of Prime you are using.

2. Check the labels of the various variables named 'r', to see if they match (= they're actually the same variable)..

3. What is the function supposed to result in when r > Ks and t >to? You need to account for ALL possible outcomes.

 

Success!
Luc

vip
6-Contributor
6-Contributor
(To:LucMeekes)

Hi Sapphire I, Attached is the worksheet. It is in Prime 5.0. I could not find how to upload the file in the Community web site. Hope this work.



Thanks,



Vincent


LucMeekes
23-Emerald III
(To:vip)

No worksheet attached.

To attach a worksheet, use the 'Browse...' button below and to the left of the message edit window.

 

Success!
Luc

vip
6-Contributor
6-Contributor
(To:LucMeekes)

Sapphire I

Qt is defined for use in other EQ.

 

Thanks,

 

 

 

 

Werner_E
25-Diamond I
(To:vip)

Delete the equal sign (evaluation) after the function definition!

B1.png

vip
6-Contributor
6-Contributor
(To:Werner_E)

It works.

 

thanks,

Announcements

Top Tags