home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpm
/
utils
/
arc-lbr
/
lbrutil.lbr
/
SKIPTO.IZC
/
SKIPTO.INC
Wrap
Text File
|
1986-12-27
|
384b
|
11 lines
PROCEDURE skipto(c : char; VAR f : text);
(* skip characters until either c or eoln encountered *)
(* at exit c is in f^, or eoln or eof is true *)
BEGIN (* skipto *)
WHILE (f^ <> c) AND NOT (eoln(f) OR eof(f)) DO get(f);
END; (* skipto *)
(* 1---------------1 *)
τ╖