INPUTEVENTS()
From Lianjapedia
Revision as of 10:16, 9 January 2015 by Yvonne.milne (Talk | contribs)
Contents
Purpose
Returns the number of input events
Syntax
INPUTEVENTS()
See Also
App Settings, Lianja System Object
Description
The INPUTEVENTS() command returns the number of input events, that is mouse clicks, touches or key presses.
See also the App 'Inactive' event delegate and 'Inactive interval' attribute in App Settings.
Example
nCurrevents = inputevents() // assumes nPrevEvents variable already declared/set and in scope if nCurrEvents = nPrevEvents // No events since last check, return to App Center Lianja.Home() endif nPrevEvents = nCurrEvents