home *** CD-ROM | disk | FTP | other *** search
- # example.rtf a simple example of a copy routine
-
- define(EOF,-1)
- define(character,byte)
-
- character char
- character getc
-
- call remark("enter <inputfile >outputfile.")
- call initio
-
- while (getc(char)!=EOF)
- call putc(char)
-
- call putc(EOF)
-
- stop
- end