When setting the timeout left argument to quadARBIN it seems to have no effect. Using 5.4.16 linux interpreter ..
If sending mail please reply to alasdair.richardson@morganstanley.com
Alasdair
We are not aware of these issues and have started to investigate them. In the interim, we're waiting for some additional information from Mr. Waller.APL2000 Support
Paul,A developer has looked into your problems and failed to reproduce them. Here's his response:I could not reproduce the problem with Œarbin trying to read from a named pipe. I tried (with the named pipe tied to -2)
x „ 0 (¯2) 2 0 10 100 10 Œarbin ''
and Œarbin returned after 10 seconds with x = ,Œav[Œio+129].
Note that the time limit is not the maximum time from when Œarbin starts executing, but is a dead-man timer; it times out if the specified number of seconds elapse without receiving ANY characters. Each time a character is received, the timer starts over. The same is true for the timeout in Œwin. If this is not Paul's problem, let me know. A reproduceable example would also help.
Trying to use []ARBIN to get 1 char, with a timeoout of 1 second (from the keyboard) R<- 0 1 -1 0 1 2 []ARBIN '' this should return after 1 sec with the result 129 (as on UNIX). It does not timeout. Trying to achieve a similar result with
R<-0 0 0 1 []win 0 0 1 1 1 (+/1 16 32 256 512) again it does not time out on linux (should return after 1 sec with 5 0 0 0 0) > We are using APL 5.4.16 LINUX/386 on red hat linux 2.4.9-e.34enterprise