Hi,

I've got to delete extra RETURN characters on each line to reduce the number
of page breaks. When I issue this code it works only with the trace command.
Whatever the combination I've tried it doesn't seem to work. Please help.

on test
  
  tText  = member("mine").text
  tLines = tText.line.count
  
  repeat with i = 1 to tLines
    case the last char of line i of tText of
      ENTER, RETURN:
        trace( "enter" )
      SPACE:
        trace( "space" )
        
        -- That's where the problem is. The next line of code doesn't want
to
        -- compile
        
        delete the last char of line i of tText
    end case
  end repeat
  
end

thanks a lot
peter



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to