Mathcad15 - If statement false - > previously defined variable deleted or overwritten with 0
Mathcad15 - If statement false - > previously defined variable deleted or overwritten with 0
(OP)
Hello everyone,
I have a simple question: when I define an If statement in Mathcad 15 and this If statement is false, the variable used in the If statement is deleted or overwritten with 0. I would like the variable to stay unchanged when the If statement is false.
See for example this case:

Basically I would like the program to return the original value for the variable t (=2).
Any suggestions? Is there maybe some setting that can be changed?
Cheers!
I have a simple question: when I define an If statement in Mathcad 15 and this If statement is false, the variable used in the If statement is deleted or overwritten with 0. I would like the variable to stay unchanged when the If statement is false.
See for example this case:

Basically I would like the program to return the original value for the variable t (=2).
Any suggestions? Is there maybe some setting that can be changed?
Cheers!
RE: Mathcad15 - If statement false - > previously defined variable deleted or overwritten with 0
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm
RE: Mathcad15 - If statement false - > previously defined variable deleted or overwritten with 0
It is, although, interesting that if you just call the considered "outer variable" in the program (for whatever reason) before the If statement, the considered variable is not erased or overwritten with zero when the If statement is false:
RE: Mathcad15 - If statement false - > previously defined variable deleted or overwritten with 0
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm
RE: Mathcad15 - If statement false - > previously defined variable deleted or overwritten with 0
Sorry - the huge pic size is due to making the screenshot from a 4K display on a rather small notebook display with a rather large windows scale set. Other forum software would allow for resizing but I found no way to do that here. Am I missing something?
Would be annoying to have to manipulate the pic, resave it and then upload.
Are there plans to change the forum software to allow for directly copying pics from the clipboard w/o having to save them first? Would be much appreciated.