Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Paul Roberts — — source: Informix-list mailing list archive (1991-1998)
In article <36358681.6341575@news.startext.net>,
<cburton@no-spam:star-telegram.com> wrote:
>Anyway to increment CHAR(1) value "A" to "B", without using case
>statement, without using 'C' (language that is)? I was looking for
>something 'cute'.
>
>TIA
>Chris Burton
How about this:
define your_char char(1)
[...]
let your_char = ascii(ord(your_char)+1)
I'm not sure exactly what it does to 'Z' - probably turns it into
a punctuation mark. Cutish, I would say.
Paul
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.