home *** CD-ROM | disk | FTP | other *** search
-
- // example: using read and write instead of copy lines
-
- // input the data file
- input "data.in" to data
-
- // copy the wanted lines to the report file
- do while (someLeft data)
- read from data
- leave if (line contains "***END***")
- if (not (line beginsWith "--"))
- write to report
- endif
-
- // comment out the next line to make the program run faster
- refresh
-
- loop
-