I have made some updates to EcmaCalc, and it’s reached version 0.4. The new features includes:
- Abortion of long-running scripts
- Syntax highlighting (still a bit buggy)
- Help
There are a few bugs left to sort out, but this version is a lot better than 0.1, so I decided to release it. If you notice any bugs or have any new ideas, post them in the comments.
EcmaCalc 0.4
Posted on March 25th, 2009 by Marius | No Comments »

EcmaCalc 0.1
I’ve used the built in windows calculator for years now, but it’s missing some important features. So I made EcmaCalc, which is a pretty stupid, short, name for EcmaScript Calculator. It implements QtScript, which is based on EcmaScript, which is based on JavaScript. That is, you can write JavaScript code in it. This means you can write expressions, functions, loops and create objects and arrays to make your calculations.
For example, you can enter 7*9 and hit the Execute button (or F7) and you will get the answer (in green, on the right). Or you could write something more complicated, like (7+1)*(3-5)/(8+2). You can store the results in variables, just like in JavaScript, like var a = 7+8;var b = 3+2; var c = a * b;.
There’s a lot more you can do, like functions, objects, arrays and loops. There are a few built in things, like the ans variable and the answer and result arrays, which will return the last few results of your expressions. There is also a print function which you can use to print stuff in the middle of loops.
I haven’t written the help yet, because this is an early version. If you find any bugs or have any comments, then please share them.
EcmaCalc 0.1
Posted on August 4th, 2008 by Marius | No Comments »
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
Posted on August 4th, 2008 by Marius | No Comments »