home *** CD-ROM | disk | FTP | other *** search
- 10 dim a$(999)
- 20 open 2,8,2,"control"
- 30 get #2,a$(nb):nb=nb+1
- 40 if st=0 then 30
- 50 print "total bytes"nb:close 2
- 60 for ts=0 to nb
- 70 if a$(ts)="."and a$(ts+1)="." and a$(ts+2)="." then 90
- 80 next
- 90 ts=ts-4:print "text starts at "ts
- 100 for t=0 to ts-1:print asc(a$(t));:next
- 110 for t=ts to ts+7:print asc(a$(t));:next
- 120 close2:end
-