Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
I made a couple simple functions that I would like to share that helps with debugging of long Mathcad Prime (circa v9) programs. (file attached)
I was making a VERY LONG convoluted program that called several sub-functions (in order to split it up). But it still had bugs by the time it was fully grown (don't we all;).
I made this function so that I could locate the errors before it happened. It is basically a logger that lets the program continue. It is better than a "return" statement in a few ways:
Notes:
P.S. Please forgive me if there is another post like this but there are lots to search though and I am not sure I used the right keywords. There are a few posts about writing data to file but this is a complete function you can cut and paste into your sheet (or include).