Skip to main content
5-Regular Member
April 12, 2012
Question

text declaration - help needed

  • April 12, 2012
  • 2 replies
  • 1795 views

Hi,

I am pretty new to this group.

I hope one of the Mathcad experts can help me.

say I have two variables with text as output

a1 = "text1"

a2 = " text2"

How can I decalre these two text variables side by side in programming

a3 = "text1" "text2" if ....

this doesnt work. is there any specific syntax to declare a1 and a2 side by side

Cheers

2 replies

1-Visitor
April 12, 2012

This will get the attention it deserves if you place in the Mathcad forum, which is here:

http://communities.ptc.com/community/mathcad

5-Regular Member
April 12, 2012

Thanks Kris,

Was pretty new to this forum. Will follow your advice

Cheers

24-Ruby III
April 12, 2012

Hello!

You need to use the built-in function "if":

Pic_1.jpg