I was unaware of NAP before today!  That's why I'm still using !SLEEP$
(yes, as we did in PI/OPEN).
I like it - thanks.

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Ed Clark
Sent: Monday, August 27, 2012 2:35 PM
To: U2 Users List
Subject: Re: [U2] [ud] Sub-second delay?

yep, it's there for compatibility with pr1me. the source is in APP.PROGS
SLEEP:

0031 subroutine PR1ME(time.in.milliseconds)
0032 ;* if time.in.milliseconds < 1000 then sleep 1
0033 ;* else sleep (time.in.milliseconds / 1000)
0034
0035    NAP time.in.milliseconds
0036 return

On Aug 27, 2012, at 4:48 PM, Wjhonson <wjhon...@aol.com> wrote:

> 
> Oooo naughty
> This is *not* in our online HELP BASIC display, and yet.... it works.
> I guess it's a synonym for NAP in Universe
> 
> 
> 
> -----Original Message-----
> From: Oaks, Harold <harold.o...@clark.wa.gov>
> To: U2 Users List <u2-users@listserver.u2ug.org>
> Sent: Mon, Aug 27, 2012 1:34 pm
> Subject: Re: [U2] [ud] Sub-second delay?
> 
> 
> In Universe Basic, the !SLEEP$ routine accepts milliseconds as a
> parameter.  For example:
> 
> CALL !SLEEP$(200) 
> 
> sleeps for 200 milliseconds (2/10 of a second).
> 
> Of course it takes a little time for the routine to start up, so you
> won't sleep exactly 1 millisecond if you try
> !SLEEP$(1).  But it works quite well in general.
> 
> Sometimes I have a message where pausing on it for 1 second seems too
> fast, 2 seconds too slow, so I make the call
> CALL !SLEEP$(1500)
> to pause 1.5 seconds.
> 
> Harold Oaks
> Clark County
> 
> -----Original Message-----
> From: u2-users-boun...@listserver.u2ug.org
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
> Sent: Monday, August 27, 2012 10:10 AM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] [ud] Sub-second delay?
> 
> 
> Ooooo talk about bringing a system to its knees :)
> 
> 
> 
> -----Original Message-----
> From: Marco Antonio Rojas Castro <marco_roja...@hotmail.com>
> To: u2-users <u2-users@listserver.u2ug.org>
> Sent: Mon, Aug 27, 2012 9:59 am
> Subject: Re: [U2] [ud] Sub-second delay?
> 
> 
> 
> H = SYSTEM(12) ;* TIME IN MILISECONDS
> LOOP
>   H2 = SYSTEM(12)
>   IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED
> REPEAT
> 
> 
> 
>> Date: Mon, 27 Aug 2012 10:17:01 -0600
>> From: ke...@precisonline.com
>> To: u2-users@listserver.u2ug.org
>> Subject: Re: [U2] [ud] Sub-second delay?
>> 
>> Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not
>> seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing,
> right?
>> 
>> On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko <d...@pickpro.com>
> wrote:
>> 
>>> NAP 500
>>> 
>>> ... david ...
>>> 
>>> David L. Wasylenko
>>> President, Pick Professionals, Inc
>>> w) 314 558 1482
>>> d...@pickpro.com
>>> 
>>> -----Original Message-----
>>> From: u2-users-boun...@listserver.u2ug.org [mailto:
>>> u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
>>> Sent: Monday, August 27, 2012 10:46 AM
>>> To: U2 Users List
>>> Subject: [U2] [ud] Sub-second delay?
>>> 
>>> Is there anything in Unidata (7.1, in particular) that can do a
> sub-second
>>> delay, like maybe a half second?
>>> _______________________________________________
>>> U2-Users mailing list
>>> U2-Users@listserver.u2ug.org
>>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>>> _______________________________________________
>>> U2-Users mailing list
>>> U2-Users@listserver.u2ug.org
>>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>>> 
>> _______________________________________________
>> U2-Users mailing list
>> U2-Users@listserver.u2ug.org
>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>                                         
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> 
> 
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> 
> This e-mail and related attachments and any response may be subject to
public 
> disclosure under state law.
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> 
> 
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

This e-mail and related attachments and any response may be subject to public 
disclosure under state law.
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to