Skip to content

TFPExpressionScanner.Source

The source expression string to scan

Declaration

Source position: fpexprpars.pp line 88

public property Source: AnsiString;

Description

The Source property gets or sets the expression string that will be tokenized by the scanner. When assigned, the scanner resets its position to the beginning and prepares for tokenizing the new expression.

Setting this property initializes the scanning process and makes the scanner ready to extract tokens from the expression string. The source string should contain a valid mathematical or logical expression using the supported syntax.