Click here to Skip to main content
13,150,607 members (42,954 online)
Click here to Skip to main content
Articles » Web Development » HTML / CSS » HTML » Downloads

Stats

48.1K views
1.3K downloads
56 bookmarked
Posted 7 Dec 2010

Scientific Calculator ZENO-5000

, 16 Feb 2015
Scientific Calculator ZENO-5000: HTML 5, CSS 3 and client-side jQuery/JavaScript
/******************************************************************************
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. Alexander Bell is a seasoned full-stack Software Engineer (Win/Web/Mobile). He holds PhD in EE/IT, authored 37 inventions and published 300+ technical articles. Currently focused on HTML5/CSS3, Javascript, .NET/WPF/C#, Angular.js, SQL, 'Big Data', Machine Learning, AI, IoT. Alex participated in App Innovation Contests (AIC 2102/2013) with multiple winning submissions. Portfolio samples:

  1. Real-time NY Bus Tracking Web App (IoT)

  2. Integrated Sensors Hub (IMU) Testing Web Page

  3. Semaphon™ semantic phone num-to-text converter

  4. Educational Web Portal

  5. Free Online NY Payroll Tax Calculator

  6. WebTV powered by YouTube Player powered by .NET API (#1 on Google)

  7. Top-50 Digital Cameras (by iMark-DCAM rating engine)

  8. Engineering Calculator VOLTA

  9. Big Data: Facebook and YouTube

  10. NY City Trivia Quiz

  11. NY Photo Gallery

  12. Publications by A. Bell


You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.170924.2 | Last Updated 16 Feb 2015
Article Copyright 2010 by DrABELL
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid