Hello,
Is there any way to save a user-defined function so that it was acessible from any new-opened Mathcad document without having to copy its definition each time?
Thank you in advance,
Maciej,
Poland.
Thank you very much for all your responses, it helped me a lot.
However, this works only when WRITEPRN is the returned value.
In my case the above conditional is part of a function.
For ex:
mywrite(filename, data) = | //do-something-before-write
|...
Hello,
How can I write a text file with a matrix only when a condition is true?
The problem I encountered is that you cannot use the := assignment inside an if-clause. Instead you've got the <-- (arrow - local assignment), which is unfortunately not working with WRITEPRN.
To sum up, I would...