home *** CD-ROM | disk | FTP | other *** search
- unit parse;
-
- { Unit to parse strings & demonstrate FULLDB }
-
- { Compile in the regular way, then run
- FULLDB parse
- to add debugging information from PARSE.OBJ to PARSE.TPU. }
-
- interface
-
- function wordcount(s:string):integer;
- { Count the words in s with blanks as delimiters }
-
- function getword(n:integer;s:string):string;
- { Get word n from string s }
-
- implementation
-
- function wordcount; external;
-
- function getword; external;
-
- {$L parse.obj}
-
- end.