sCal: a small, scientific, script programmable calculator--for & in JavaScript. sCal2: an expansion giving a function/program catalog system with: hundreds of unit-conversions & material properties, programming examples, nearly limitless user-procedures
Be the first to post a text review of sCal and sCal2. Rate and review a project by clicking thumbs up or thumbs down in the right column.
The PDA-sized version of sCal-2 is now linked directly to the Project Homepage. Click on the screenshot, and this Public Domain, 16kb version is delivered, and ready to run within most JavaScript enabled browsers. Depending on which browser that is, typically click 'view'-'source' and then, from within the text viewer/editor click 'file'-'save as' "sCal.htm" or whatever, and it's now available for off-line use. Use the same text editor to modify the code. The top drop-down menu has constants and unit conversions. These may not be the most popular in many professions. Trim it, add to it, rearange it--freely in the code. The second set has common math functions. Again, these may not be the user's first choice. Trig is in degrees, for example. Change it. The last is currently devoted to user functions. The distribution version has financial and some Civil Engineering calculations. For many, these will serve only as examples for programming in their own procedures. (Reminder: the [Do] button performs the calculation on any arguments in the x-display; the [JS] button places the code for the calculation in the x-display, wherein the user can modify it or fill in the blanks with variables. The [=] button submits the string in the x-display for evaluation.) sCal was made available in this way, without a formal download, mostly to try and access it directly from a smart phone or web-enabled PDA/pocket PC. As yet, have not managed to test it on any of these devices. (Though the Opera7 small screen view shows it fully operational (if in need of a few layout tweaks) on a desktop.) Touch-screen data entry and reprogramming have not been explored. Also, its likely that PDA web Browsers that attempt to show the normal screen may not be able to yield the full 240-pixel width, losing 20-pixels to a vertical scroll bar. It may be possible to reduce sCal to a 220-pixel width with a font size change. All that aside, there seemed to be no reason not to have sCal so easily available. It is Public Domain after all. The Gnu-GPL under which sCal2 is licensed is a bigger file than sCal. Since the license is to be delivered with the software, sCal2 will remain only in the sCal-2 zip package--tho at 64kb, its not a huge download either. The JavaScript 'eval(string)' function is extremely powerful. Complete branching, looping, function calls, and multi-line programming are possible, and demonstrated by working examples. The sCal and sCal2 programs are just frameworks for handling the Input/Output. Amazing things are possible in sCal (for the number-crunching types); though, with little more hardware resources, it is lightweight compared to sCal2.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?