ORD () and CHR () functions
Mikael.Olesen@qss-uk.com
Mikael.Olesen@qss-uk.com
Tue, 3 Aug 2004 12:46:26 +0100
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C4794F.81C89500
Content-Type: text/plain
Thank you All for your quick response!
Have a great day,
Kind Regards
Mikael Olesen
______________________
Mikael Olesen
Analyst Programmer
Technical Services Department
Quadrant Subscription Services
Phone: 01444 445340
Email: mikael.olesen@qss-uk.com
-----Original Message-----
From: Peter Bateman [mailto:ppfb@hotmail.com]
Sent: 02 August 2004 16:06
To: powerh-l@lists.sowder.com
Subject: RE: ORD () and CHR () functions
;To get the ordinal of X
define CS char * 255 = < your character set minus nul ie start at control-A>
define ORD integer size 2 = index ( CS, X )
Peter Bateman
>From: Tim Cummings <tim.cummings@frequencymarketing.com>
>To: powerh-l@lists.sowder.com
>Subject: RE: ORD () and CHR () functions
>Date: Mon, 2 Aug 2004 07:47:54 -0400
>
>Mikael,
>
>The CHR() equivalent is the CHARACTERS function:
>
>define esc int*2 = 27
>define escape char*1 = char(esc)
>
>Tim
>
>-----Original Message-----
>From: Mikael.Olesen@qss-uk.com [mailto:Mikael.Olesen@qss-uk.com]
>Sent: Monday, August 02, 2004 6:52 AM
>To: powerh-l@lists.sowder.com
>Subject: ORD () and CHR () functions
>
>
>
>Hello
>
>Cant remember how I get the ASCII value of a character and the other way
>around,
>
>Just like PASCAL's (a real language) ORD () and CHR () functions.
>
>Anyone?
>
>Kind Regards
>
>Mikael Olesen
>
>
>
>r============================ DISCLAIMER =============================
>This message is intended only for the use of the person(s)
>(\"Intended Recipient\") to whom it is addressed. It may contain
>information, which is privileged and confidential. Accordingly
>any dissemination, distribution, copying or other use of this
>message or any of its content by any person other than the Intended
>Recipient may constitute a breach of civil or criminal law and is
>strictly prohibited. If you are not the Intended Recipient, please
>contact the sender as soon as possible.
>
>Reed Business Information Ltd. and its subsidiary companies
>Tel: +44 (0)20 8652 3500
>
>=======================================================================
>
>
>
_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft(r) SmartScreen
Technology.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=htt
p://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN(r) Premium right now and get the
first two months FREE*.
r============================ DISCLAIMER =============================
This message is intended only for the use of the person(s)
(\"Intended Recipient\") to whom it is addressed. It may contain
information, which is privileged and confidential. Accordingly
any dissemination, distribution, copying or other use of this
message or any of its content by any person other than the Intended
Recipient may constitute a breach of civil or criminal law and is
strictly prohibited. If you are not the Intended Recipient, please
contact the sender as soon as possible.
Reed Business Information Ltd. and its subsidiary companies
Tel: +44 (0)20 8652 3500
=======================================================================
------_=_NextPart_001_01C4794F.81C89500
Content-Type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: ORD () and CHR () functions</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Thank you All for your quick response!</FONT>
</P>
<P><FONT SIZE=2>Have a great day,</FONT>
</P>
<P><FONT SIZE=2>Kind Regards</FONT>
</P>
<P><FONT SIZE=2>Mikael Olesen</FONT>
<BR><FONT SIZE=2>______________________</FONT>
<BR><FONT SIZE=2>Mikael Olesen </FONT>
<BR><FONT SIZE=2>Analyst Programmer</FONT>
<BR><FONT SIZE=2>Technical Services Department</FONT>
<BR><FONT SIZE=2>Quadrant Subscription Services</FONT>
<BR><FONT SIZE=2>Phone: 01444 445340</FONT>
<BR><FONT SIZE=2>Email: mikael.olesen@qss-uk.com </FONT>
</P>
<BR>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Peter Bateman [<A HREF="mailto:ppfb@hotmail.com">mailto:ppfb@hotmail.com</A>] </FONT>
<BR><FONT SIZE=2>Sent: 02 August 2004 16:06</FONT>
<BR><FONT SIZE=2>To: powerh-l@lists.sowder.com</FONT>
<BR><FONT SIZE=2>Subject: RE: ORD () and CHR () functions</FONT>
</P>
<P><FONT SIZE=2>;To get the ordinal of X</FONT>
<BR><FONT SIZE=2>define CS char * 255 = < your character set minus nul ie start at control-A></FONT>
<BR><FONT SIZE=2>define ORD integer size 2 = index ( CS, X )</FONT>
</P>
<P><FONT SIZE=2>Peter Bateman</FONT>
</P>
<P><FONT SIZE=2>>From: Tim Cummings <tim.cummings@frequencymarketing.com></FONT>
<BR><FONT SIZE=2>>To: powerh-l@lists.sowder.com</FONT>
<BR><FONT SIZE=2>>Subject: RE: ORD () and CHR () functions</FONT>
<BR><FONT SIZE=2>>Date: Mon, 2 Aug 2004 07:47:54 -0400</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Mikael,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>The CHR() equivalent is the CHARACTERS function:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>define esc int*2 = 27</FONT>
<BR><FONT SIZE=2>>define escape char*1 = char(esc)</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Tim</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>-----Original Message-----</FONT>
<BR><FONT SIZE=2>>From: Mikael.Olesen@qss-uk.com [<A HREF="mailto:Mikael.Olesen@qss-uk.com">mailto:Mikael.Olesen@qss-uk.com</A>]</FONT>
<BR><FONT SIZE=2>>Sent: Monday, August 02, 2004 6:52 AM</FONT>
<BR><FONT SIZE=2>>To: powerh-l@lists.sowder.com</FONT>
<BR><FONT SIZE=2>>Subject: ORD () and CHR () functions</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Hello</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Cant remember how I get the ASCII value of a character and the other way</FONT>
<BR><FONT SIZE=2>>around,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Just like PASCAL's (a real language) ORD () and CHR () functions.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Anyone?</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Kind Regards</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Mikael Olesen</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>r============================ DISCLAIMER =============================</FONT>
<BR><FONT SIZE=2>>This message is intended only for the use of the person(s)</FONT>
<BR><FONT SIZE=2>>(\"Intended Recipient\") to whom it is addressed. It may contain</FONT>
<BR><FONT SIZE=2>>information, which is privileged and confidential. Accordingly</FONT>
<BR><FONT SIZE=2>>any dissemination, distribution, copying or other use of this</FONT>
<BR><FONT SIZE=2>>message or any of its content by any person other than the Intended</FONT>
<BR><FONT SIZE=2>>Recipient may constitute a breach of civil or criminal law and is</FONT>
<BR><FONT SIZE=2>>strictly prohibited. If you are not the Intended Recipient, please</FONT>
<BR><FONT SIZE=2>>contact the sender as soon as possible.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Reed Business Information Ltd. and its subsidiary companies</FONT>
<BR><FONT SIZE=2>>Tel: +44 (0)20 8652 3500</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>=======================================================================</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
</P>
<P><FONT SIZE=2>_________________________________________________________________</FONT>
<BR><FONT SIZE=2>Take charge with a pop-up guard built on patented Microsoft(r) SmartScreen </FONT>
<BR><FONT SIZE=2>Technology. </FONT>
<BR><FONT SIZE=2><A HREF="http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines" TARGET="_blank">http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines</A> </FONT></P>
<P><FONT SIZE=2> Start enjoying all the benefits of MSN(r) Premium right now and get the </FONT>
<BR><FONT SIZE=2>first two months FREE*.</FONT>
</P>
<FONT SIZE=3><BR>
<BR>
r============================ DISCLAIMER =============================<BR>
This message is intended only for the use of the person(s) <BR>
(\"Intended Recipient\") to whom it is addressed. It may contain <BR>
information, which is privileged and confidential. Accordingly <BR>
any dissemination, distribution, copying or other use of this <BR>
message or any of its content by any person other than the Intended <BR>
Recipient may constitute a breach of civil or criminal law and is <BR>
strictly prohibited. If you are not the Intended Recipient, please <BR>
contact the sender as soon as possible.<BR>
<BR>
Reed Business Information Ltd. and its subsidiary companies<BR>
Tel: +44 (0)20 8652 3500<BR>
<BR>
======================================================================= <BR>
<BR>
</FONT>
</BODY>
</HTML>
------_=_NextPart_001_01C4794F.81C89500--