i made a calculator with GM

Posted by death on Jan. 26, 2011, 2:50 p.m.

i got tired of Windows Calculator so i made this real quick. it's meant to be faster and easy i guess. not sure if i'll ever update this or whatever but just thought i'd post it. i'm not gonna upload it here seeing as it's not a game so i'll just provide a link.

Download Here!

EDIT: updated to version 1.1, no more error messages :P

unknown variables are treated as 0 so they won't effect your equation if your just messing around and LOOKING for bugs.

EDIT2: updated to version 1.2, this time added a nifty little feature, after you have received you answer, the next input window will display the previous equation and it's answer. copy and pasting also work well with this.

Comments

Ferret 13 years, 11 months ago

Not as good in my opinion. No easy way to copy and paste your answer. Got an error when I used the escape key.

death 13 years, 11 months ago

lol actually copy and pasting works for me, also the brief instructions says to type "exit" to quit. somebody wasn't paying attention. [:P]

Ferret 13 years, 11 months ago

:P

Sorry, pretty used to using escape for gm.

death 13 years, 11 months ago

yeah i wanted escape to be the obvious choice but because of the whole window thing i did with it, it would ignore esc, after disabling it, the error appeared but it's not really a big deal seeing as it can easily be ignored, any error can [:)]

PY 13 years, 11 months ago

Yes, errors are fine because they can be ignored.

Super programming strategy, friend!

death 13 years, 11 months ago

the only reason you'll get an error is if you break the 3 rules of the program: no letters, no equals and don't press esc :P though ='s don't result in a error all the time, just doesn't give you the correct answer lol.

Eva unit-01 13 years, 11 months ago

Make it so that the errors don't count then, cuz getting messages are pretty irritating. If the errors aren't fatal, why not just change the global setting for it in GM, I think it's that option that has no errors show when they are present or something.

death 13 years, 11 months ago

yes i thought about that… however i want the user to know and understand that what they put in isn't okay with the program. if there is no error and they get 0 returned, they might not think that what they typed in was incorrect.

Eva unit-01 13 years, 11 months ago

Then the cure is to make the error prettier lol.

PY 13 years, 11 months ago

Why don't you validate your input and give proper error messages?

Nobody's going to replace windows calculator with something that's worse and doesn't even bother to catch exceptions.