Subject Re: [ib-support] How to do CTRL characters in an IB string literal?
Author Jason Wharton
Ann, you misunderstood what I am getting at.

In Delphi source code the actual presence of a CTRL-M (line feed) is
considered white space by the compiler. Therefore, if you want to add a CRLF
to a string so that the string contains those characters you type it like
this:

MyDelphiString := 'some text'#13#10;

So what you end up with is a string that contains the some text with a
carriage return and line feed after it. The numbers are just the convention
telling the compiler what actual characters on the ASCII chart get included
in the string.

Hope this helps clear things up a bit.

PS. You should try Delphi sometime, it is a wonderful language. <g>

Cheers,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Ann W. Harrison" <aharrison@...>
To: <ib-support@yahoogroups.com>
Sent: Tuesday, May 01, 2001 5:07 PM
Subject: Re: [ib-support] How to do CTRL characters in an IB string literal?


> At 02:17 PM 5/1/2001 -0700, Jason Wharton wrote:
> >What if you have a strong and distinct dislike for UDF's? (Which I do)
>
> That's a problem. The database is strongly typed - you can't
> just go telling a character to be an integer. You might lobby
> for special character literals like ISC_NL, ISC_TAB, ISC_CR,
> ISC_LF ... Or you might take this up in IB_Architect, hoping
> to find a more sympathetic listener.
>
> Cheers,
>
> Ann
>
>
> Yahoo! Groups Sponsor
>
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>