opening txt files
Kay C Lan
lan.kc.macmail at gmail.com
Wed Jan 16 00:39:24 EST 2013
On Wed, Jan 16, 2013 at 1:19 PM, Kay C Lan <lan.kc.macmail at gmail.com> wrote:
> it would be nigh
> impossible for LC to repair this.
Actually I take that back. If Pages places an extra space after EVERY
char, so there are two spaces between words instead of one, there is a
space after the last word on a line but before the carriage return,
and another space after the carriage return and before the first char
of a new line, then it should be just a simple matter of:
--assuming the very first char is invalid
put true into tOdd
repeat for each char tChar in tData
if (tOdd = true)
put tChar after tOutput
put false into tOdd
else
put true into tOdd
end if
end repeat
put tOutput into fld "WhereEver"
If there is not an extra space after EVERY char, then it becomes much
more difficult.
HTH
More information about the use-livecode
mailing list