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

[REBOL] wait on system/port/input

From: m::koopmans2::chello::nl at: 20-Aug-2001 9:16

Hi All, I would like to wait on system/port/input. Consider the following piece of code: a: system/ports/input txt: copy {} forever [ wait a b: copy {a} either "-" = b [ do txt txt: copy {} ] [append txt b] ] which I thought would append characters to txt, and do txt when you type "-" What happens: everything is appended to "txt", but the do is never done. Why I want this with 'wait: console input mixing with networs serving! Aka: the Rugby Console.... Any ideas? --Maarten