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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Getting undefined error for function

JM_10241707
8-Gravel

Getting undefined error for function

Somehow I am not getting the function to work in 15. Can someone help on this. 

ACCEPTED SOLUTION

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

You define a function etaB, but try to evaluate a function etaT which is nowhere defined?

 

Furthermore your range variables i and j don't make much sense in the function definition. What did you expect them to achieve?

 

Defining lambda:=5 is useless because lambda is the (formal) function argument. The value for lambda has to be provided as argument when you call your function.

 

Did you look for something like this:

Werner_E_0-1660095313582.png

 

View solution in original post

1 REPLY 1
Werner_E
25-Diamond I
(To:JM_10241707)

You define a function etaB, but try to evaluate a function etaT which is nowhere defined?

 

Furthermore your range variables i and j don't make much sense in the function definition. What did you expect them to achieve?

 

Defining lambda:=5 is useless because lambda is the (formal) function argument. The value for lambda has to be provided as argument when you call your function.

 

Did you look for something like this:

Werner_E_0-1660095313582.png

 

Announcements

Top Tags