2

I can read from system/ports/input (for example CGI data), but how do I write to this port so I can read it using read system/ports/input?

write system/ports/input some-data returns error cannot use write on port! value

rebolek
  • 1,281
  • 7
  • 16

2 Answers2

2

The console scheme currently only supports a 'read actor.

See https://github.com/rebol/rebol/blob/master/src/core/p-console.c

Graham Chiu
  • 4,856
  • 1
  • 23
  • 41
0

I was going to say

system/ports/output 

as well, but I noticed that it is 'none in my r3.

On the other hand, just using

print "something"

should automatically use standard output, which is used b cgi as well.

ingo
  • 521
  • 3
  • 7