Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getbutton(3) — GL1 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getbutton(3)  —  Silicon Graphics R1c

NAME

getbutton - return the current state of a button

SYNOPSIS

C
Boolean getbutton(b)
Device b;

FORTRAN
logical function getbut(b)
integer*2 b

Pascal
function getbutton(b: Device): Boolean;

DESCRIPTION

Getbutton polls a button, returning its current state.  A button device is supplied as the argument.  Getbutton returns either TRUE or FALSE, where TRUE means that the button is pressed. 

SEE ALSO

qbutton, setbutton, tie

NOTE

This command can only be used in immediate mode. 

Version 2.3  —  July 04, 1985

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