Hi Lindsay,
> Is is possible to turn off I/O buffering in a PicoLisp program?
I/O buffering can't be turned off, it happens on a lower (stdin) level.
I think what you mean is a low-level (e.g. character-wise) read as opposed to
the higher-level 'read' function.
> e.g In Perl one can do something like this...
>
> #!/usr/bin/perl
> $| = 1; # Turn off I/O buffering
> while (<STDIN>) {
> s/-/_/g; # Replace dashes with underscores
> print $_;
> }
This could be:
(while (char)
(prin
(case @
("-" "_")
(T @) ) ) )
♪♫ Alex
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe