Re: linefeed question

2004-01-04 Thread Dar Scott
On Sunday, January 4, 2004, at 03:50 AM, erik hansen wrote: One approach is to remove the numToChar(13) characters. is numToChar(13) somehow safer than "return"? It is not the same. In Revolution "return" means the line end char which is numToChar(10), the same as lineFeed, LF, CR and return. S

Re: linefeed question

2004-01-04 Thread Björnke von Gierke
You are obviously spoiled by Rev ;) Whenever you put text from the hard drive into a field in Rev its line ending gets transformed into "return", that means linefeed (LF). This happens because different platforms uses different line endings for their files (Win: CRLF Unix: LF Mac: CR). However t

RE: linefeed question

2004-01-04 Thread Chipp Walters
Last I checked, return can mean different things on different platforms. By using the numToChar function, you can be certain of only a specific character code. -Chipp > > > One approach is to remove the numToChar(13) > > characters. > > is numToChar(13) somehow safer than "return"? > > = > [

Re: linefeed question

2004-01-04 Thread erik hansen
--- Dar Scott <[EMAIL PROTECTED]> wrote: > One approach is to remove the numToChar(13) > characters. is numToChar(13) somehow safer than "return"? = [EMAIL PROTECTED]http://www.erikhansen.org __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sha

Re: linefeed question

2004-01-04 Thread Doug Lerner
On 1/4/04 3:47 PM, "Dar Scott" <[EMAIL PROTECTED]> wrote: > > On Saturday, January 3, 2004, at 11:36 PM, Doug Lerner wrote: > >> I bet that is it. But I wonder why it would be there. I am doing a read >> until CRLF... > > Though the Revolution CR is not the ASCII Carriage Return, but the same >

Re: linefeed question

2004-01-03 Thread Dar Scott
On Saturday, January 3, 2004, at 11:36 PM, Doug Lerner wrote: I bet that is it. But I wonder why it would be there. I am doing a read until CRLF... Though the Revolution CR is not the ASCII Carriage Return, but the same as ASCII LF, the constant CRLF is the ASCII CR followed by the ASCII LF. A

Re: linefeed question

2004-01-03 Thread Doug Lerner
I bet that is it. But I wonder why it would be there. I am doing a read until CRLF... doug On 1/4/04 3:15 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote: > you should check for numToChar(13) at the end of the line. If it's there, > then delete it. > > -Chipp > >> -Original Message- >> F

RE: linefeed question

2004-01-03 Thread Chipp Walters
you should check for numToChar(13) at the end of the line. If it's there, then delete it. -Chipp > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Doug Lerner > Sent: Saturday, January 03, 2004 11:15 PM > To: How to use Revolution > Subject: linefeed que

Re: linefeed question

2004-01-03 Thread Doug Lerner
I've not specified an encoding, so whatever the default is. doug On 1/4/04 2:54 PM, "Dar Scott" <[EMAIL PROTECTED]> wrote: > > On Saturday, January 3, 2004, at 10:14 PM, Doug Lerner wrote: > >> A Windows user says he is seeing a "strange character" at the end of >> lines I >> am writing to a f

Re: linefeed question

2004-01-03 Thread Dar Scott
On Saturday, January 3, 2004, at 10:14 PM, Doug Lerner wrote: A Windows user says he is seeing a "strange character" at the end of lines I am writing to a field. What encoding are you using? Perhaps this is related to a unicode bug. Dar Scott ___ use