Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: OWA_TEXT / OWA_UTIL

Re: OWA_TEXT / OWA_UTIL

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Fri, 27 Nov 1998 14:29:40 GMT
Message-ID: <3663b718.10708718@192.86.155.100>


A copy of this was sent to beppe_at_sportpress.com (if that email address didn't require changing) On Fri, 27 Nov 1998 10:44:23 GMT, you wrote:

>Can someone help me explaining the statement below.
>I found in Oracle package OWA_TEXT / OWA_UTIL to find the end of line.
>
>
> /* The broken line below is intentional */
> NL_CHAR constant char(1) := '
>';
>

it is setting the global variable NL_CHAR to a newline. Instead of relying on the non-portable:

   nl_char constant char(1) := chr(10);

it uses the newline on the machine it is installed on (for example, char(10) on a MAINFRAME with EBCIDIC isn't a newline....)

>Many thanks.
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
 

Thomas Kyte
tkyte_at_us.oracle.com
Oracle Government
Herndon VA

--
http://govt.us.oracle.com/ -- downloadable utilities  



Opinions are mine and do not necessarily reflect those of Oracle Corporation  

Anti-Anti Spam Msg: if you want an answer emailed to you, you have to make it easy to get email to you. Any bounced email will be treated the same way i treat SPAM-- I delete it. Received on Fri Nov 27 1998 - 08:29:40 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US