Replies: 1 comment 5 replies
-
|
Not entirely unrelated, it doesn't seem as if the Console scheme (default SYSTEM/PORTS/OUTPUT) supports binary writes to STDOUT. Is there a scheme that permits this? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to redirect output by switching out the OUTPUT port (as I might with Rebol 2). I have my capture function as follows:
It seems PRINT bypasses the OUTPUT port:
I'm sure there's probably other ways to do this (ECHO comes close, but duplicates output). Ultimately I'd prefer to have a scheme that accumulates output to a STRING! and stick that in the output slot, but that's for another day.
Edit
I do not want to imply that an output or capture port should only support strings, they should be able to handle binary too.
Beta Was this translation helpful? Give feedback.
All reactions