Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » HTML / CSS » HTML » Downloads
 
Add your own
alternative version
Go to top

Scientific Calculator ZENO-5000

, 7 Dec 2010
Scientific Calculator ZENO-5000: HTML 5, CSS 3 and client-side jQuery/JavaScript
Zeno5000_Application.zip
/******************************************************************************
Project          :  ZENO-5000       | Online Scientific Calculator (OSC)
Module           :  oscZenoRef.js   | jQuery/Javascript
Description      :  Contains Ref data
******************************************************************************
Author           :  Alexander Bell
Copyright        :  2010 Infosoft International Inc
Date Created     :  11/20/2010
Last Modified    :  11/30/2010
******************************************************************************
DISCLAIMER: This Application is provide on AS IS basis without any warranty
You can use it at your sole risk.
******************************************************************************
TERMS OF USE     :  This module is copyrighted. You can use it provided that
                 :  you keep the original copyright note.
******************************************************************************/

// ****** REF ****************************************************************
// BINARY OPERATION CODES
// nop      :0
// add      :1
// subtract :2
// mult     :3
// div      :4
// y^x      :5
// %        :6             

// ****** GLOBAL CONST *******************************************************
var strNaN = "NaN";
var strInf = "Infinity";
var oscError; "ERROR";
var strEmpty = "";
var strMore = '▼';
var strLess = '▲';
// input string length limit
var maxLength = 14;

// ****** GLOBAL VAR *********************************************************
// operation code
var opCode = 0;
// stack memory register
var stackVal = 0;
// user memory register
var memVal = 0;
// flag to clear input box on data pre-entry
var boolClear = true;
// calculator state: normal or expanded
var oscExtState = false;

// manual
var oscManual = "http://www.examiner.com/online-learning-in-new-york/zeno";
var delOpen = 5000;
function InitRefPage() { tmrOnLoad = setTimeout(StartWindowOpen, delOpen); }
function StartWindowOpen() {
    window.open(oscManual, 'oscManualPage', 'fullscreen=1, scrollbars=1'); self.focus();
}
window.onload = InitRefPage;

// doc
var oscDoc = "http://www.examiner.com/online-learning-in-new-york/zeno-doc";
var BM = 2; // button middle
var BR = 3; // button right
function mouseDown(e) {
    try { if (event.button == BM || event.button == BR) { return false; } }
    catch (e) { if (e.which == BR) { return false; } }
}
document.oncontextmenu = function () {
    window.open(oscDoc, 'oscDocPage', 'fullscreen=1, scrollbars=1'); return false;
} 
document.onmousedown = mouseDown;

// ***********************************************************************************

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

DrABELL
President Infosoft International Inc
United States United States
Dr. A. Bell has 20+ years of Software and Electrical Engineering experience. He is Win/Web veteran, published 200+ articles and authored 37 inventions, currently focused on: Windows 7/8, HTML5, CSS3, jQuery, SQL, .NET, ASP.NET, WPF, C#, Speech Technology and Mobile apps. He's been among recent App submission winners (The Windows 8* & Ultrabook™ App Innovation Contest 2012). Sample pubs:
  1. Edumatter M12: School Math Calculators and Equation Solvers (contest winner)
  2. Engineering Calculator VOLTA-2013 (contest winner)
  3. HTML5 Best Practices: Table formatting via CSS3
  4. Edumatter-M12 for Windows, app overview
  5. Engineering Calculator VOLTA-814D
  6. CoolPhone: phone numbers-to-text converter
  7. SQL generates large data sequence
  8. Aggregate Product function extends SQL
  9. Top-50 Digital Cameras
  10. WebTV Project: Embedded YouTube Player (Goog #1 YouTube API for ASP.NET)
Dr. Bell is personally credited for 10+ Enterprise level projects (Finance/Investment, Engineering, Edu) w/total code base exceeding 250k lines; doing consulting in NYC for 20 yrs.
Follow on   Twitter

| Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 7 Dec 2010
Article Copyright 2010 by DrABELL
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid