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 <[email protected]> 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 <[email protected]>
> To: U2 Users List <[email protected]>
> 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: [email protected]
> [mailto:[email protected]] On Behalf Of Wjhonson
> Sent: Monday, August 27, 2012 10:10 AM
> To: [email protected]
> Subject: Re: [U2] [ud] Sub-second delay?
> 
> 
> Ooooo talk about bringing a system to its knees :)
> 
> 
> 
> -----Original Message-----
> From: Marco Antonio Rojas Castro <[email protected]>
> To: u2-users <[email protected]>
> 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: [email protected]
>> To: [email protected]
>> 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 <[email protected]>
> wrote:
>> 
>>> NAP 500
>>> 
>>> ... david ...
>>> 
>>> David L. Wasylenko
>>> President, Pick Professionals, Inc
>>> w) 314 558 1482
>>> [email protected]
>>> 
>>> -----Original Message-----
>>> From: [email protected] [mailto:
>>> [email protected]] 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
>>> [email protected]
>>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>>> _______________________________________________
>>> U2-Users mailing list
>>> [email protected]
>>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>>> 
>> _______________________________________________
>> U2-Users mailing list
>> [email protected]
>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>                                         
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> 
> 
> _______________________________________________
> U2-Users mailing list
> [email protected]
> 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
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> 
> 
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to