dmcmahill / wcalc

Transmission line calculator
GNU General Public License v2.0
8 stars 3 forks source link

review and overhaul all `alert()` messages #17

Open dmcmahill opened 2 years ago

dmcmahill commented 2 years ago

alert() is used to give a message to the user when something is wrong. It usually means we are outside the range where the equations should give reasonable accuracy. These messages should be reviewed and make sure that they actually give some useful info that doesn't require reading the source code. See for example https://sourceforge.net/p/wcalc/bugs/8/ which says:

This is not a bug report. It is a question for Dan. What does the warning "Warning: bt <= at so I am reverting to zero thickness equations" mean? Is there documentation on all output that can possibly generated by Wcalc?

johnrichardrinehart commented 2 years ago

Thanks, @danmcmahill ! Happy to see this project revived! Thanks for responding to my question.