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 an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. 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

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.

Top Tags