Calculator

By Derrick Kearney

Purdue University

Simple calculator example

Launch Tool

This tool version is unpublished and cannot be run. If you would like to have this version staged, you can put a request through HUB Support.

Archive Version 1.1
Published on 29 Mar 2012
Latest version: 1.2. All versions

Open source: license | code unavailable

Category

Tools

Published on

Abstract

This is the calculator example (calc) from the book Effective Tcl/Tk Programming. It demonstrates one way applications that do not use the Rappture Toolkit can be installed in the HUB environment. This example uses Tcl/Tk to manage the graphical user interface, and bc in the background to do simple calculator functions including addition, subtraction, multiplication and division.

References

Harrison, Mark and McLennan, Michael. Effective Tcl/Tk programming: writing better programs with Tcl and Tk. Redwood City, CA, USA: Addison Wesley Longman Publishing Co., Inc., 1998. Print

Cite this work

Researchers should cite this work as follows:

  • Derrick Kearney (2013), "Calculator," https://help.hubzero.org/resources/calc.

    BibTex | EndNote

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®