Skip to content

TParser.SourcePos

Returns the current position in the stream.

Declaration

Source position: classesh.inc line 2350

public 
function TParser.SourcePos : LongInt;

Description

Remark:

This is not the character position relative to the current source line, but the byte offset from the beginning of the stream.

Errors

None.

See also

Name Description
TParser.SourceLine Current source line number.