Print to PDF?
m.schonewille at economy-x-talk.com
Fri Aug 7 16:45:00 EDT 2009
repeat until cr & cr is not in theText
replace (cr & cr) with cr in theText
Economy-x-Talk Consulting and Software Engineering
Submit your software products to http://www.quickestpublisher.com and
If you sent me an e-mail before 8th July and haven't got a reply yet,
please send me a reminder.
On 7 aug 2009, at 22:02, François Chaplais wrote:
> wouldn't it turn cr & cr & cr & cr into cr & cr ?
> Le 7 août 09 à 20:54, Peter Brigham MD a écrit :
>> On Aug 7, 2009, at 8:08 AM, François Chaplais wrote:
>>> put the number of lines of theText into n
>>> repeat with i = n down to 2
>>> get line i of theText
>>> if it is empty and line (i-1) of theText is empty then
>>> delete line i of theText
>>> end if
>>> end repeat
>> Couldn't you do this part faster with
>> replace cr & cr with cr in theText
>> -- Peter
More information about the Use-livecode