Extra cr after every line?
sarahr at genesearch.com.au
Thu Jan 20 19:16:59 EST 2005
From the docs under "return":
> The line feed character is the standard end-of-line delimiter on Unix
> systems. The end-of-line delimiter for Mac OS systems is a carriage
> return, and the end-of-line delimiter for Windows systems is a
> carriage return followed by a line feed. Internally, Revolution always
> uses a line feed to end lines.
I would guess that your Windows machine is ending each line with CRLF
which translates to 2 linefeeds on Solaris.
put fld "test" into theData
replace numToChar(13) with empty in theData
Then send it and see what happens.
On 21 Jan 2005, at 8:04 am, Glen Bojsza wrote:
> I have had some success in writing lines to a file from a Windows XP
> machine to a Solaris machine.
> Unfortunately, there is an additional blank line after every line I
> The data in the field "test" on the Windows machine is:
> once written to a file on the Solaris machine via serial connection it
> appears as:
> Is there a method to not have the additional returns? I
> on mouseUp
> put the fld "test" into theData
> write theData to file theSerialPort
> end mouseUp
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode