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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

how to pass values of find to some other varaibles

vveeran
4-Participant

how to pass values of find to some other varaibles

I have some values in the Find function like,

f(v):=Find(x,y)

I want to assign the values of (f(v)0 , f(v)1) to two variables like,

X:= f(v)0 Y:=f(v)1 and i want to use these values.

How can i do this.

In the attached file, i explained clearly.

thank you in advance.

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

You can do it exactly as you outlined in your posting (X:=f(v)[0, etc.) or even better put on the LHS a 2x1 vector consisting of the variable names X and Y and on the RHS just f(v).

The problems you experience (which?) ,may be because you define v as a range and not as a vector.

Announcements

Top Tags