How do you show the result of a function without showing the name
How do you show the result of a function without showing the name
(OP)
In my design sheets I want to append a series of calculations with something like "ok" or "x > y, OK", but am not sure how to do this without ending up with something like: F= "OK".
Is there any way to do this? Can I make a function off to the side and somehow call it without displaying the name of the function?
Thanks.
Is there any way to do this? Can I make a function off to the side and somehow call it without displaying the name of the function?
Thanks.





RE: How do you show the result of a function without showing the name
You can display the result of the hidden calculations outside the "Locked Area", so the result can still be seen, but the working can not. Just use a syntax like this to assign a result in the hidden working:
Result := MyFunction (parameter1, parameter2, ...)
Then below the hidden area, use syntax like this to display the result:
Result =
and you should get the output displayed something like this:
Result = "OK"
but the function used to generate the result won't be displayed.
Search the Mathcad Help file for "Grouping and Protecting Information with Areas" for more information.
We use this method to hide calculations which contain a lot of sensitive Intellectual Property, but we only distribute the printed / PDF output, NOT the native Mathcad file, because I am never too sure how secure such password protection schemes are, but it should be good enough to hide the working from casual "prying eyes". (I know there are password crackers for Excel, and I suspect the same can be done with Mathcad passwords, if you know how.)
Another approach is to put all the calculations you want to keep hidden on the right side sheet of the formatted output, and select "Print single page width" on the "Page Setup" menu. This only affects the printed output, but again, if you are only distributing "hard copy", it will have the desired effect.
Hope this helps!
RE: How do you show the result of a function without showing the name
Peter
RE: How do you show the result of a function without showing the name
Philip
RE: How do you show the result of a function without showing the name
RE: How do you show the result of a function without showing the name
if(øMn>Mu,"O.K.","N.G.")=O.K.
RE: How do you show the result of a function without showing the name
=xyz
as the only thing visible.
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: How do you show the result of a function without showing the name
RE: How do you show the result of a function without showing the name
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: How do you show the result of a function without showing the name
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: How do you show the result of a function without showing the name
I've been trying for years to do something like this. kudos! I can use this method to to display all kinds of errors and other messages. And they don't have those ugly quote marks that I get with text variables.
My only disappointment is that somewhat ugly box that appears around the text. But I think I can live with that.
Thanks for a great tip.
regards,
chichuck
RE: How do you show the result of a function without showing the name
RE: How do you show the result of a function without showing the name
I was fiddling with it and I found that. Now I can make the messages look just like I want them to. If only I could conditional format them to be green when its okay and red when its ng, or make it disappear with a white font on a white background when not needed, then I couldn't ask for more!
RE: How do you show the result of a function without showing the name
RE: How do you show the result of a function without showing the name
TextBox.Forecolor = RGB(0,0,225)
cheers