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

How to make a second variable equal to the first one simply

dhuszta
1-Visitor

How to make a second variable equal to the first one simply

Hi! How can I define a second variable based on a previously calculated one? I calculated X and I'd like to define Y as equal to X, but I can't do it with a simple equal sign. I had to write a Given function for it.01.PNG

ACCEPTED SOLUTION

Accepted Solutions

What am I missing?

View solution in original post

4 REPLIES 4

What am I missing?

MJG
18-Opal
18-Opal
(To:dhuszta)

The equal sign you used is an equality sign - used specifically for comparison (as in your given/find function).  What you want is the definition equal sign (written with a colon).

F1 := 10

F2 := F1

F2 = 10

dhuszta
1-Visitor
(To:MJG)

Thank you!

dhuszta
1-Visitor
(To:dhuszta)

Thank you! For some reason it didn't work, an error message popped up, that the variable is undefined. I just started a new Matchcad document and it works.

Announcements

Top Tags