alien.png Editing sources -- Math evaluation
[Previous] [Main] [Next]


Yet another great feature of this editor is the math evaluation. It does exactly what you think it should do, it evaluates things. Mathematical things to be exact. The math evaluator will also pop-up just like the other tool tips and is actually a tool-tip too, but this one deserves a whole topic. Math evaluation is almost a must for every programmer around the world. How many times did you see a hexadecimal number and wanted to convert it to a decimal number or saw a binary number added to a hexadecimal number and you needed the result of that? Probably pretty often. Well CA3 will do this FOR you... Check figure 48 for that!


edit child (math evaluation).png
Figure 48. Math evaluation

here you see the math evaluation in action. As you can see CA3 will split up what it finds into small pieces of numbers first. CA3 will show all those numbers in hexadecimal, decimal and binary. After that the math evaluator comes in action. It'll calculate the sum of what you selected or what CA3 thinks it should calculate (In this case no text was selected and CA3 has determined that you want to see the result of $4000 - $7. At the bottom of the tool tip you see the sum and the result in decimal and hexadecimal...

As I told, if you select a part of text in the file, the math evaluator will only evaluate THAT part. This can come in handy if CA3 can't determine the sum or does it wrong (See figure 49)...


edit child (math evaluation partially).png
Figure 49. Math evaluation on a selected part of the text.

I didn't want the complete sum, I only wanted the $4000. By selecting that what you want and calling upon the evaluator, it'll evaluate the stuff you selected!! Quite powerful eh?