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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. 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

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
24-Ruby V
(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
24-Ruby V
(To:vip)

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

B1.png

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

It works.

 

thanks,

Top Tags