############################################################################
#
# File: itrcline.icn
#
# Subject: Procedure to filter out non-trace lines
#
# Author: Ralph E. Griswold
#
# Date: July 14, 1997
#
############################################################################
#
# This file is in the public domain.
#
############################################################################
#
# itrcline(f) generates lines from the file f that are Icon
# trace messages. It can, of course, be fooled.
#
############################################################################
procedure itrcline(f) #: generate trace messages in file
local line
while line := read(f) do
line ? {
if (=" :" & move(6) & ="main") | (move(12) & ": |")
then suspend line
}
end
This page produced by UniDoc on 2021/04/15 @ 23:59:45.