RE: [U2] UV Timed INPUT

2009-03-15 Thread Norman, David (Health)
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, ==

RE: [U2] UV Timed INPUT

2009-03-15 Thread Keith Johnson [DATACOM]
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/

RE: [U2] UV Timed INPUT

2009-03-13 Thread Baker Hughes
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

{Blocked Content} RE: [U2] UV Timed INPUT

2009-03-13 Thread Norman, David (Health)
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

RE: [U2] UV Timed INPUT

2009-03-12 Thread Womack, Adrian
) 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

RE: [U2] UV Timed INPUT

2009-03-12 Thread Hona, David
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

Re: [U2] UV Timed INPUT

2009-03-12 Thread Norman, David (Health)
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

RE: [U2] UV Timed INPUT

2009-03-12 Thread Nick Gettino
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

RE: [U2] UV Timed INPUT

2009-03-12 Thread Brian Leach
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

RE: [U2] UV Timed INPUT

2009-03-12 Thread Les Hewkin
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

RE: [U2] UV Timed INPUT

2009-03-11 Thread Larry Hiscock
(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

RE: [U2] UV Timed INPUT

2009-03-11 Thread Ken Wallis
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

Re: [U2] UV Timed INPUT

2009-03-11 Thread Louis Windsor
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

RE: [U2] UV Timed INPUT

2009-03-11 Thread Bernard Lubin
) 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

Re: [U2] UV Timed INPUT

2009-03-11 Thread Jacques G.
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

[U2] UV Timed INPUT

2009-03-11 Thread Norman, David (Health)
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