Karl Williamson <public@khwilliamson.com> wrote
on Sat, 23 Apr 2011 09:40:46 MDT:
>> I always thought that Control-X meant ('X'^'@') in C, so (ord("X") ^
>> ord("@") in Perl, and that the reason for writing ^C is because of the
>> xor. I notice there's no mention of xor'ing with an "@". I like that
>> explanation because it explains why a ^@ is NUL, why ^? is DEL, etc.
> Patches welcome.
I find having to memorize lookup tables doesn't work as well for
me as knowing what formula to apply. But perhaps I am in the
minority on this.
I'll see what I can think of, though.
Thank you, Karl.
--tom
Thread Previous
|
Thread Next