Chr function?

mao@krifapost.dk mao@krifapost.dk
Fri, 28 Jan 2000 08:33:31 +0100


Hi

What if you need characters with a value above 99? We got some strange letters
in my country!

Mikael Olesen
Aarhus, Denmark






To:   "'jlkeepers@mmm.com'" <jlkeepers@mmm.com>, powerh-l@lists.swau.edu
cc:    (bcc: Mikael A Olesen/7210/DKF)
Subject:  RE: Chr function?




Try this:

>define d-i int size 2 = 65
>define d-x char*1 = char(d-i)[2:1]
>report all

Just watch the substring - it will be the other byte for other machines.

John Pickering
Toronto

> -----Original Message-----
> From:   jlkeepers@mmm.com [SMTP:jlkeepers@mmm.com]
> Sent:   Thursday, January 27, 2000 10:48 AM
> To:     powerh-l@lists.swau.edu
> Subject:     Chr function?
>
>
>
> Hello all,
>
> Is there a QUIZ function equivalent to the MPEX function CHR?  In MPEX I
> can do CHR(200-135) and the value returned is an A and I want to do the
> same thing in QUIZ.  The ASCII function only gives me a 1.  Any help would
> be appreciated.
>
> Sincerely,
> Jeff Keepers
>
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.




= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.