[U2] Sleeping in Basic

2012-12-27 Thread Doug Farmer
Happy holidays all, I just want to make sure I did not miss something over the U2 releases. Since the Microdata Reality days, I have used SLEEP nn to sleep for nn seconds. Simple, usually does the trick. But in today's gotta have it now, I won't wait, environment, a second is sometimes way

Re: [U2] Sleeping in Basic

2012-12-27 Thread Wjhonson
What you really need is the ability to POKE. So you execute the phantom and return it's handle to another process (PID) The waiter stops at a regular INPUT. The responder then could POKE something carriage return to the waiter's INPUT That would be instant reaction, no wait, and no false starting.

Re: [U2] Sleeping in Basic

2012-12-27 Thread Brian Whitehorn
If my memory serves correct, I believe on UniData it's RQM . -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Don Robinson Sent: Friday, 28 December 2012 9:07 AM To: U2 Users List Subject: Re: [U2] Sleeping in Basic

Re: [U2] Sleeping in Basic

2012-12-27 Thread Doug Farmer
Thanks for this tip on NAP, The documentation does say it sleeps for milliseconds. I tried it and it works. RQM for UniData says it does the same as sleep. Well 1/2 of the problem solved! Still looking or a UniData answer. Doug Farmer 952-417-5225 -Original Message- From:

Re: [U2] Sleeping in Basic

2012-12-27 Thread Wjhonson
I would be careful of believing NAP :) The sleeping is, I believe, based entirely on the time slicing and clock interrupting ability, and so dependent on that mechanism internally of the underlying O/S. I have found, on various implementations, that NAP doesn't actually support any possible

Re: [U2] Sleeping in Basic

2012-12-27 Thread Allen Egerton
On 12/27/2012 4:56 PM, Doug Farmer wrote: Happy holidays all, I just want to make sure I did not miss something over the U2 releases. Since the Microdata Reality days, I have used SLEEP nn to sleep for nn seconds. Simple, usually does the trick. snip See if NAP is supported in your

Re: [U2] Sleeping in Basic

2012-12-27 Thread David A. Green
Doug this works for me in UniData: SLEEP.TIME = 500 ;* .5 Second ERR = openSocket(loopback, 25, 1, SLEEP.TIME, hBUFF) David A. Green (480) 813-1725 DAG Consulting -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On

[U2] [Windows] The Device in the LIST.READU output

2012-12-27 Thread Wjhonson
Universe on Windoze In the LIST.READU output there is a column called Device Is the device physically *a* disk? Or *a* server? If a server has three disks, could there be three device numbers or one? Could a single physical disk have multiple numbers ? Like sectors... partitions... directory

Re: [U2] Sleeping in Basic

2012-12-27 Thread Daniel McGrath
UniVerse supports the NAP [milliseconds] command. On UniData it would be more efficient to use the PAUSE [time] / WAKE command which gives you both an automated timeout as well as allowing you to continue as soon as the PHANTOM declares it okay. You can switch between both of these in your