<HTML><FONT FACE=arial,helvetica><FONT SIZE=2 FAMILY="SANSSERIF" FACE="Arial" LANG="0">Hi Kirill!<BR>
<BR>
After calling (port-count-lines! <port>)--following the opening of the port--<BR>
then port-next-location will return a list of line number, column number, <BR>
and file pos.<BR>
<BR>
Jim<BR>
<BR>
<BLOCKQUOTE TYPE=CITE style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">Is it possible to extract from a port some information about <BR>
current position and (in case of file-stream port) about corresponding<BR>
file name?<BR>
<BR>
In other words, I'm looking for some friends to 'file-position' which can return <BR>
line, column and filename.</BLOCKQUOTE><BR>
<BR>
</FONT></HTML>