Thanks to all who've posted suggestions for this. I never fail to be
surprised by the wealth of knowledge that this group possesses, and the
good-natured willingness to share and help.
I'm sure that I will be able to resolve my problem from the interesting
code posted.
Thanks again,
==
David Norman asked for a timed input for Universe. There is a program
to replicate the Unidata timed input at
http://www.pickwiki.com/cgi-bin/wiki.pl?InputWait
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
David,
Not sure what you need to accomplish, Brian's offer looks promising.
You might also try INPUTIF. I use it in status screens. got the idea from
my days working with computer aided dispatch.
ACT=''
LOOP
INPUTIF YOUR.WISH THEN
BEGIN CASE
CASE UPCASE(YOUR.WISH) MA
ry it on Monday.
--
Date: Thu, 12 Mar 2009 10:45:47 +0100
From: Brian Leach
Subject: RE: [U2] UV Timed INPUT
David
try the following:
FUNCTION TimedInput(Period, Value)
$OPTIONS PICK
Now = Time()
Loop
Input n,-1
Until n Or ((Time() - Now) > Period) Do
Nap 50
Repeat
If No
)
Sent: Friday, 13 March 2009 9:38 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] UV Timed INPUT
Thanks to all for the responses; yes the UniData INPUT ... WAITING looks
like it would be great but it doesn't exist on UniVerse.
I'm still battling with the basic problem of trying to i
Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Norman, David
(Health)
Sent: Friday, 13 March 2009 11:38 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] UV Timed INPUT
Thanks to all for the responses; yes the UniData INPUT
Thanks to all for the responses; yes the UniData INPUT ... WAITING looks
like it would be great but it doesn't exist on UniVerse.
I'm still battling with the basic problem of trying to intercept a
partially entered string after a certain time. If typing has started but
Enter hasn't been pressed to
998 | fax: 678-393-5389
nick.gett...@infor.com | www.enroute911.com
-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brian Leach
Sent: Thursday, March 12, 2009 5:46 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UV Time
David
try the following:
FUNCTION TimedInput(Period, Value)
$OPTIONS PICK
Now = Time()
Loop
Input n,-1
Until n Or ((Time() - Now) > Period) Do
Nap 50
Repeat
If Not(n) Then
Result = @False
End Else
Input Value
Result = @True
End
RETURN(Result)
as in:
PROGRAM TestInput
$OPTIONS PICK
Subject: RE: [U2] UV Timed INPUT
Does UV support the WAITING clause on the INPUT statement?
In UD you can do:
INPUT VAR WAITING 30 ELSE
...
END
Larry Hiscock
Western Computer Services
-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On
(Health)
Sent: Wednesday, March 11, 2009 8:27 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] UV Timed INPUT
I'm sure I've seen something about this recently, but I've searched the
past 2 years with no luck. I want to do a timed INPUT in UV - if after n
seconds the Enter key hasn
bject: [U2] UV Timed INPUT
I'm sure I've seen something about this recently, but I've searched the
past 2 years with no luck. I want to do a timed INPUT in UV - if after n
seconds the Enter key hasn't been pressed, do something.
Anyone got any cleve
I think this process will "hog" the processor. I would imagine you would
need a "SLEEP' si the loop.
Louis
- Original Message -
From: "Jacques G."
To:
Sent: Thursday, March 12, 2009 1:24 PM
Subject: Re: [U2] UV Timed INPUT
I'm typing thi
)
Sent: Thursday, 12 March 2009 2:27 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] UV Timed INPUT
I'm sure I've seen something about this recently, but I've searched the
past 2 years with no luck. I want to do a timed INPUT in UV - if after n
seconds the Enter key hasn't been p
D
REPEAT
- Original Message
From: "Norman, David (Health)"
To: u2-users@listserver.u2ug.org
Sent: Wednesday, March 11, 2009 11:26:56 PM
Subject: [U2] UV Timed INPUT
I'm sure I've seen something about this recently, but I've searched the
past 2 years with no luck. I want to do
I'm sure I've seen something about this recently, but I've searched the
past 2 years with no luck. I want to do a timed INPUT in UV - if after n
seconds the Enter key hasn't been pressed, do something.
Anyone got any clever ways of doing this ?
Thanks,
David Norman
Senior
16 matches
Mail list logo