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

Reply via email to