LokiWeb Version 1.1, November 2001 Copyright 2001 by: Craig A. Finseth craig@finseth.com http://www.finseth.com 1343 Lafond St Paul MN 55104 USA +1 651 644 4027 This package contains three related RPN calculators. All are written in JavaScript/ECMAScript and run under most browsers. The three calculators are: Loki-bin A "programmer's" calculator operating in binary, octal, decimal, and hex. It can show results in more than one base at a time. Loki-RPN A basic "4-banger" that is suitable for many uses. Loki-web A (greatly) expanded version of Loki-RPN that supports unit entry, display, and calculations as well as fraction entry and display. The first two calculators come in two versions: one for most browsers and one for "small" (HP Journada 548-type) units. Each of the calculators lives in its own directory of the same name as the calculator. The directories have files of these names: Full version: key##.gif key images key##d.gif depressed[*] key images loki-XXX.html the program (replace XXX with the name) loki-icon.gif an icon to use The small version uses: key##.gif key images loki-XXX-s.html the small program The small version does _not_ use the depressed version of the key images. [*] They take too much Valium...(:-) ------------------------------------------------------------ Running the Programs The programs can be run directly from my web site: http://www.finseth.com/LokiWeb/Loki-bin/loki-bin.html http://www.finseth.com/LokiWeb/Loki-RPN/loki-RPN.html http://www.finseth.com/LokiWeb/Loki-web/loki-web.html Or, they can be downloaded from: http://www.finseth.com/LokiWeb/lokiweb.tar http://www.finseth.com/LokiWeb/lokiweb.tar.gz Simply unpack into your favorite directory and run them. Other versions of Loki can be found at: http://www.finseth.com/index.html#Loki If you're going to run them on a small device, use the same directory structure as the distribution comes in. You only need the "-s" versions of the HTML files and you don't need to copy the "*d.gif" versions of the key images. ------------------------------------------------------------ Distribution Terms These programs are distributed under the terms of the GNU Public License. ------------------------------------------------------------ For reference, these are the internal codes as used by doKey: used in code meaning bin RPN web \r Enter Y Y Y \n Enter Y Y Y (SP) Enter Y Y Y ! not Y # population count Y % mod, percent mod percent percent & and Y ( cube root Y ) x^3 Y * multiplication Y Y Y + addition Y Y Y - subtraction Y Y Y . decimal point Y Y / division Y Y Y 0-9 digit Y Y Y A enter A Y B enter B Y C enter C Y D enter D Y E enter E, EEX Y Y Y F enter F, factorial Y Y Y G diagonal Y I inverse: 1/x Y Y K bacK space (<-) Y Y Y L Last X Y Y Y N fraction separator Y P pi Y R Roll down Y Y Y S Swap X<->Y Y Y Y T delTa percent Y Y Y U unit separator Y X Clear X Y Y Y W Now Y Y Today Y Z Clear Y Y Y [ sqrt Y ] x^2 Y ^ xor Y | or Y ~ change sign, +/- Y Y Y