Tags:
tag this topic
create new tag
view all tags
---+ .UTIL TIMEOUT SET _This subroutine sets the keyboard timeout value._ <br />%TOC% ---++ Usage: <pre> PASS <seconds> FIELD SHARE? N GOSUB --- .UTIL TIMEOUT SET * Check for errors IF --- .UTIL TIMEOUT SET NE </pre> ---++ Description: This subroutine sets the keyboard timeout value. The number of seconds must be PASSed or the subroutine will CANCEL. <seconds> is the number of seconds before a timeout occurs (Required). This must be an integer greater than zero. Passing zero or a negative number will not start a timer. The timer will count down unless the user presses a key or mouse clicks. When the user presses a key or clicks the mouse, the timer starts again. If the timer reaches zero, --- OPTION is set to TIMEOUT and the process resumes executing as if the user had pressed an option key. You can check for --- OPTION = TIMEOUT in the option intercept or global option intercept event points or use [[0LASubrUtilTimeoutExit][.UTIL TIMEOUT EXIT]]. <div id="_mcePaste">This routine is normally called in the Start of Process event point, but you can use it anywhere to reset the timeout value. You can have multiple timers running at different process levels but only one timer is allowed at each processing level. For example, you could set a 30 minute timer at the menu, and a 5 minute timer in the inputs.</div> <div id="_mcePaste">When the lower level timeout is activated, control is returned to the higher level timer, which is then reset just as if a key had been pressed.</div> <div id="_mcePaste">Note: This timer could be used for many different things other than the one presented here. When the timer reaches zero, a TIMEOUT event is generated, but the timer is reset and continues on. It will continue to generate TIMEOUT events until the the timer is explicitly set to zero or the level is exited.</div> Also see [[0LASubrUtilTimeoutExit][.UTIL TIMEOUT EXIT]]. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2012-01-31
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2014-01-28
-
GaryRogers
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback