https://tekagen.com/calcpad

It's like someone basically just stashed a boat load of neat math functions into one program. I especially like how X is used as a multiplication operator as that's a lot easier to type. Every other calculator program gets that wrong.
Yes, I am. I made it for my school capstone project.
It does have this option. It's not in the tabbed area in settings, it's beneath it in blue letters. It says "autoload last session". You can also manually load the last session from the file menu. It's good to know that it can be missed, I may need to make it pop more.webfork wrote: ↑Sat Mar 21, 2020 12:19 pm When you close the program Notepad++, it doesn't matter if you've saved the file or not, the content you were working on stays in the editor. It would be especialy nice to have that in CalcPad as well, especially since a lot of people will end up using these for converting recipes to/from metric. Some folks would probably not like this functionality so it should probably be optional.
Wow.
Missed that, thanks
Good
Code: Select all
1+2 =3
+2 =5
Done.
I don't believe so. But as far as I understand, it displays while the program is loading.
Done. But... it doesn't work with subtraction because it would interfere with negation, such as "-2+4 = 2". Although, I could add an option to force this behavior.
1. An option seems like a reasonable solution. Also, if that option is on, you can autoinsert the word "ans" if the user begins the new line with an operand. Using the example above
Code: Select all
1+2 =3
Code: Select all
1+2 =3
ans- ...
Auto-insert would probably be the way. It may be more troublesome than you realize though. You wouldn't be able to start any line without a number, without it using the previous answer. So "sqrt(4)" would automatically pull the answer from the previous expression.vevy wrote: ↑Tue Mar 24, 2020 7:53 pm 1. An option seems like a reasonable solution. Also, if that option is on, you can autoinsert the word "ans" if the user begins the new line with an operand. Using the example above
2. It would also be useful if this logic applied to any operator (like √ or root2).
That would be a beneficial behavior. I wonder if I can just prevent it from deleting newline characters. Right now, in the context menu, you can also click on "Remove Line", which I added a week or so ago. I added a keyboard shortcut for this (ctrl+r) for this newest release, which I meant to do from the very beginning. *I realize I need to fix this, the cursor appears at the beginning of the textbox when I use this*
Hmm... you mean something like an archive option? Something that saves to a new unique file each time you clear it and allows you to browse those archived files? Or do you want to have a single file that is split into pages that you can iterate through? I had something similar to the latter but nixed it because the implementation wasn't great. You had a predefined amount of tabs, 4 or 8. I couldn't do proper tabs because I don't understand WPF/UI very well.
You just pointed me to a bug! Yes you can do it, you type "r(x)=sqrt(x)" in custom functions. So you can type something like "r2 + r8". However, it wasn't working when part of a larger expression. That has been fixed and ready to download!
I'm a bit confused. Could you give a more detailed example?iangm wrote: ↑Wed Mar 25, 2020 6:31 pm Auto-insert would probably be the way. It may be more troublesome than you realize though. You wouldn't be able to start any line without a number, without it using the previous answer. So "sqrt(4)" would automatically pull the answer from the previous expression.
Thanks for the option. Waiting for the backspace behavior and the fix.That would be a beneficial behavior. I wonder if I can just prevent it from deleting newline characters. Right now, in the context menu, you can also click on "Remove Line", which I added a week or so ago. I added a keyboard shortcut for this (ctrl+r) for this newest release, which I meant to do from the very beginning. *I realize I need to fix this, the cursor appears at the beginning of the textbox when I use this*
I don't really have a preference. Think of it like "clear" in a terminal. The screen is cleared but the history is still there. If I want to check something in yesterday's calculations, maybe I can click a button or access a menu item or something.Hmm... you mean something like an archive option? Something that saves to a new unique file each time you clear it and allows you to browse those archived files? Or do you want to have a single file that is split into pages that you can iterate through? I had something similar to the latter but nixed it because the implementation wasn't great. You had a predefined amount of tabs, 4 or 8. I couldn't do proper tabs because I don't understand WPF/UI very well.
Thanks a lot and thanks for the new version!Yes you can do it, you type "r(x)=sqrt(x)" in custom functions.
Auto-inserting "ans" at the beginning of a line with "+", "-", "*", or "/" is pretty straightforward. But if you start a line with sqrt(4) and auto insert "ans" it would produce "ans sqrt(4)". So if your previous answer was 10, it would evaluate the next line as "(10) sqrt(4)". This should multiply them via implicit multiplication, so it would evaluate as "10 * sqrt(4)". It seems like it would be better to only auto-insert "ans" for the basic binary operators, instead of all functions? So instead of starting a line with "sqrt" you would start with "+ sqrt", "- sqrt", "/ sqrt", or "* sqrt".vevy wrote: ↑Tue Mar 24, 2020 7:53 pm 1. An option seems like a reasonable solution. Also, if that option is on, you can auto-insert the word "ans" if the user begins the new line with an operand. Using the example above
2. It would also be useful if this logic applied to any operator (like √ or root2).
I've thought about it more, and I have an idea. CalcPad has no enter button, so it doesn't keep track of things like a terminal or normal calculator. CalcPad's input box is what I refer to as a "page". I could add a button that adds additional pages. So if you want to clear the screen, but save what you typed in without creating a new save file, you click on an "add page" icon next to the eraser icon. This will clear the screen and put you on page number 2. You can keep doing this as much as you like and go back to other pages using a selection box to choose a page number, or use arrow keys to flip through the pages back-and-forth.
You're welcome, I am happy that you pointed it out.
I have been wanting this for so long! But unfortunately, I don't know enough about UI/WPF to implement it. And the code I am using from someone else for syntax coloring doesn't support this feature. Occasionally I spend some time looking into finding a better textbox, but there isn't much out there that can do what I need. But you may see it in the future.
This is actually how my online version of this periodic table works. Honestly, I don't know why I made this one different. I'll get that changed.vevy wrote: ↑Thu Mar 26, 2020 6:54 pm 2. The periodic table is a very nice addition (What is the purpose of the little field? Edit: nvm, got it. cool feature! Hint for other users, play with the visual options and drag the scrollbar!), but there should be no popup window when clicking an element. Instead, a click should highlight the item and fix the contents of the box above, so that the contents can be copied.
I'll look into it. I am not sure if it's possible to change it, but maybe. I did figure out a way to get tooltips to stay up longer, so people could actually read them, the code for it was really bizarre.vevy wrote: ↑Thu Mar 26, 2020 6:54 pm 3. I understand you may not want to remove the splash screen, which is totally your right, but can you shorten it a bit? I takes half a second or so to fade out once the window has loaded, which (I know this is silly) irritates me a bit. It is just a pet peeve of mine, so I can't help but ask! Sorry if this is a bit presumptuous.