[Simh] Gah! ascii don't work??!
On Oct 17, 2004, at 2:34 PM, Paul Koning wrote:
>
> chr$(27%+128%) will, I believe, actually output a 155 code, not a 27.
> On a 7-bit device that's ok, but on a terminal that support 8 bits,
> it's not.
>
> Try this (working from memory):
> print record 1%, chr$(27%)+"[2J";
do you mean:
open "kb:" for output as file #1%
print #1,chr$(27)+"[2J"; <-- ; really helps??
this still print $[2J
print record.... gets "2J" only... same if I use chr$(155%)
What would chr$(-27%) be? (no, looks like "e")
>
> Note two points: (a) "record 1%" means binary ("raw") output, and (b)
> string concatenation, rather than multiple arguments separated by ";"
> so the whole chunk goes out under the influence of that "raw output"
> modifier.
>
> paul
>
Received on Sun Oct 17 2004 - 17:45:52 BST
This archive was generated by hypermail 2.3.0
: Fri Oct 10 2014 - 23:37:22 BST