Calculator

By Derrick Kearney

Purdue University

Simple calculator example

Launch Tool

You must login before you can run this tool.

Version 1.2 - published on 17 Oct 2013

Open source: license | download

View All Supporting Documents

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®