Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getbutton(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getbutton()  —  Silicon Graphics

NAME

getbutton - gets the state (up/down) of a button

SPECIFICATION

C
Boolean getbutton(num)
Device num;

FORTRAN
logical function getbut(num)
integer*4 num

Pascal
function getbutton(num: Device): longint;

DESCRIPTION

getbutton returns the state of the button numbered num.  A return value of 0 means that the button is up; 1 means that it is down. 

NOTE

The command can be used only in immediate mode. 

Version 2.4  —  May 08, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026