Extra cr after every line?
Yves COPPE
yvescoppe at skynet.be
Fri Jan 21 01:45:31 EST 2005
Le 20 janv. 05, à 23:02, Glen Bojsza a écrit :
> 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
> write.
>
> The data in the field "test" on the Windows machine is:
>
> hostname
> address
> user
>
> once written to a file on the Solaris machine via serial connection it
> appears as:
>
> hostname
>
> address
>
> user
>
> 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
>
try this
this will remove all blank lines in your variable
on mouseUp
put fld "test" into thedata
filter thedata with "*?"
write thedata to file theSerialPort
end mouseUp
Greetings.
Yves COPPE
yvescoppe at skynet.be
More information about the use-livecode
mailing list