[fpc-pascal] TIOStream and .Position

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Dec 6 00:10:05 CET 2009


On 05 Dec 2009, at 21:42, Žilvinas Ledas wrote:

> is this intended behavior or it is a bug that iostream.Position always returns -1?

Are you reading from standard input or so? In that case it's logical that the position is always -1, since you can't seek standard input (in theory it's infinitely large).


Jonas


More information about the fpc-pascal mailing list