geca
geca

Reputation: 2971

Redirect 'print' to STDOUT?

How can I make Rebol output "Hello world!" string to standard output? I tried with rebol.exe -w --do "print [\"Hello world!\"]" but I don't see any output.

Upvotes: 1

Views: 222

Answers (1)

moliad
moliad

Reputation: 1503

in R3 You need to get the experimental console version for this to work:

http://www.rebolsource.net/

in R2, you need to add the -c option like so:

rebol.exe -cw --do "print [\"Hello world!\"]"

-c stands for cgi mode

Upvotes: 1

Related Questions