Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] No-wait

From: ptretter:charter at: 22-Feb-2004 13:49

What is the purpose of no-wait. Doesn't seem work for me. Isn't no wait supposed to return immediately. For example: Shouldn't a forever loop that has the following code always be printing instead of only once the port has received data? port: open/direct/no-wait tcp://:7000 x: 0 forever [ print x + 1 x: x + 1 data: first wait port ] I would like to see it continuously printing the value of x instead of only after it receives data on the port. So what does no-wait accomplish? Paul Tretter