Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPExpressionScanner.Pos

Current position in the source string

Declaration

Source position: fpexprpars.pp line 89

public property TFPExpressionScanner.Pos : Integer
  read FPos;

Description

This read-only property returns the current character position within the source expression string during scanning. The position starts at 1 (first character) and advances as tokens are extracted.

The position value is useful for error reporting and debugging, as it indicates exactly where in the expression the scanner is currently located or where an error occurred during tokenization.


Documentation generated on: Dec 15 2025