[AmigaOS 3.1 Command Reference/Calculator] 


Format: CALCULATOR [PUBSCREEN <public screenname>] [TAPE <window>] Template: PUBSCREEN, TAPE/K Purpose: To provide an on-screen calculator. Path: Extras:Tools/Calculator Specification: CALCULATOR starts the Calculator program. You can cut and paste the output of the Calculator into any console window, like the Shell or ED. TAPE allows you to create a Calculator window of a specific size in which to display your input and output. The specification is in the form of: TAPE=RAW:x/y/width/height/title/options Where:


Is the number of pixels from the left edge of the screen to the left border of the window.


Is the number of pixels from the top of the screen to the top of the window.


Is the width of the window, in pixels.


Is the height of the window, in pixels.


Is the text that appears in the window title bar. The permissible options are:


The window automatically appears when the program needs input or produces output. With the Shell window, it will open for input immediately. The window can only be closed with the ENDSHELL command. Selecting the Shell's close gadget will close the window, but it will re-open immediately since it is expecting input.


The window has all the standard gadgets, including a close gadget.


The window appears on the backdrop, behind all the Workbench windows. The only gadget in the window border is the zoom gadget. This Shell window cannot be brought to the front of the screen; you have to resize the Workbench windows to see it.


The window opens without any left or bottom window border. Only the zoom, depth, and sizing gadgets are available.


The window cannot be dragged. It has a zoom, depth and sizing gadget, but no close gadget.


The window only has a depth gadget.


The window will open on a public screen. The screen must already exist. You must specify the name of the screen after the SCREEN keyword.


If you enlarge the window, the text will expand to fill the newly available space, allowing you to see text that had been scrolled out of the window.


If you enlarge the window, the text does not expand to fill the newly available space.


The window can only be closed by selecting the close gadget. (An example of this is the Execute Command Workbench Output Window.) To exit the program, select the window's close gadget. Example: 1> CALCULATOR

Converted from AmigaGuide to HTML by Jaruzel