ORD () and CHR () functions

Tim Cummings tim.cummings@frequencymarketing.com
Mon, 2 Aug 2004 07:47:54 -0400


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_01C47886.8BE332D0
Content-Type: text/plain;
	charset="iso-8859-1"

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

======================================================================= 




------_=_NextPart_001_01C47886.8BE332D0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ORD () and CHR () functions</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=406053411-02082004>Mikael,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=406053411-02082004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=406053411-02082004>The 
CHR() equivalent is the CHARACTERS function:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=406053411-02082004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=406053411-02082004>define 
esc int*2 = 27</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=406053411-02082004>define 
escape char*1 = char(esc)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=406053411-02082004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=406053411-02082004>Tim</SPAN></FONT></DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Mikael.Olesen@qss-uk.com 
  [mailto:Mikael.Olesen@qss-uk.com]<BR><B>Sent:</B> Monday, August 02, 2004 6:52 
  AM<BR><B>To:</B> powerh-l@lists.sowder.com<BR><B>Subject:</B> ORD () and CHR 
  () functions<BR><BR></FONT></DIV>
  <P align=left><FONT face=Arial size=2>Hello</FONT></P>
  <P align=left><FONT face=Arial size=2>Cant remember how I get the</FONT> <FONT 
  face=Arial size=2>ASCII</FONT><FONT face=Arial size=2> value of a</FONT> <FONT 
  face=Arial size=2>character and the other way around</FONT><FONT face=Arial 
  size=2>,</FONT></P>
  <P align=left><FONT face=Arial size=2>Just like PASCAL's (</FONT><FONT 
  face=Arial size=2>a</FONT> <FONT face=Arial size=2>real</FONT> <FONT 
  face=Arial size=2>language</FONT><FONT face=Arial size=2>) ORD () and</FONT> 
  <FONT face=Arial size=2>CHR (</FONT><FONT face=Arial size=2>) 
  functions.</FONT></P>
  <P align=left><FONT face=Arial size=2>Anyone?</FONT></P>
  <P align=left><FONT face=Arial size=2>Kind Regards</FONT></P>
  <P align=left><FONT face=Arial size=2>Mikael Olesen</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></BLOCKQUOTE></FONT></BODY></HTML>

------_=_NextPart_001_01C47886.8BE332D0--