home *** CD-ROM | disk | FTP | other *** search
- /* Look for unmatched quotes in file */
- trace n
- parse arg infile
- call open("input",infile,'r')
- do i = 1 to 3456
- aline =readln("input")
- linelength = length(aline)
- bline = compress(aline,'"')
- cline = compress(bline,"'")
- linelength2 = length(cline)
- unbal = (linelength-linelength2)//2
- if unbal = 1 then say aline
- end
- exit
- end
-