cvs.gedasymbols.org/archives/browse.cgi | search |
From: | "Raul Carolus" <carolura AT luther DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Allegro-accelerating |
Date: | Sat, 13 Nov 1999 18:22:41 +0100 |
Organization: | T-Online |
Lines: | 22 |
Message-ID: | <80k6pn$eni$1@news03.btx.dtag.de> |
References: | <80k5uc$40u3 AT imsp212 DOT netvigator DOT com> |
Mime-Version: | 1.0 |
X-Trace: | news03.btx.dtag.de 942513783 15090 320030026865-0001 991113 17:23:03 |
X-Complaints-To: | abuse AT t-online DOT de |
X-Sender: | 320030026865-0001 AT t-dialin DOT net |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
finding <finding AT bigfoot DOT com> schrieb in im Newsbeitrag: 80k5uc$40u3 AT imsp212 DOT netvigator DOT com... > I would like to increase a value of a variable when the key is pressing. > decrease the value while the key is not pressing. > > Could anyone tell me how to do it in Allegro. > thx! > > be sure to call install_keyboard() before using: while(keypressed()) { variable++; } Simple enough.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |