CalcVendor Specifications
|
Build your calculator, by creating windows for variables and writing a function.
CalcVendor lets you create a calculator with windows and a button on your browser, where the button calls a function you wrote which gets or sets values in the windows. The function can be a arithmetic, a formula or a C-like function with many statements. The variables(windows)' names, units and initial values can be specified. Since the calculator is a HTML file, you can also put it on the web. Fill in the blanks on CalcVendor for the title, the variables and the function. Then CalcVendor creates a calculator file and call your browser to run it. On the calculator, each variable appears as a small window with the label for name and unit, and can have the initial value. The function appears below the button. While you don't have to know JavaScript in many cases, the function syntax is just that of JavaScript function, with ".value" replaced by "#". You can modify further the calculator file if you know HTML and JavaScript. You can specify a shortcut-key for each variable window and the button, to move the keyboard focus easily between variables and to run the button by a key instead of the mouse.