Does rebol have a standard output handle like c?
Example : In "C" I can write something like this:
//=======================================================
FILE* f;
IF write_to_file THEN
  f = fopen("test.htm","w")
ELSE
  f = stdout;
ENDIF
fprintf(f,"This could be written to the console\n"
          "OR to the console OR as web content");
// thanks in advance
Tim
BTW, that's not psuedo-code

Reply via email to