At 11:14 AM 10/19/2001 -0400, James Mastros wrote:
>This is a first run at a patch to support the ord and chr opcodes. It
>mainly, I'm afraid, serves as an example to show that we need to be able to
>transcode out of the native encoding; I have to special-case it several ways
>otherwise.
>Limita
At 09:38 PM 10/18/2001 -0400, James Mastros wrote:
>Hey all.
> This is my first working version of chr(i, s|sc) and ord(s, i|ic). It's
>not nearly as clean as I'd like it. It's a lot more complicated and
>low-level then I'd like. It is tested only on my system with INTVAL being a
>long.
I th
This is a first run at a patch to support the ord and chr opcodes. It
mainly, I'm afraid, serves as an example to show that we need to be able to
transcode out of the native encoding; I have to special-case it several ways
otherwise.
Limitations
- Ord only works on native strings if they have 8
Hey all.
This is my first working version of chr(i, s|sc) and ord(s, i|ic). It's
not nearly as clean as I'd like it. It's a lot more complicated and
low-level then I'd like. It is tested only on my system with INTVAL being a
long.
I'd be very interested in better tests, or ideas for a better