[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TParser.FloatType

The type of a float token.

Declaration

Source position: classesh.inc line 1450

public property TParser.FloatType: Char
  read fFloatType;

Description

Floating point numbers can be postfixed with a character specifying the type of floating point value. When specified, this property holds the character postfixed to the number.

It can be one of the following values:

s or S Value is a single.
c or C Value is a currency.
d or D Value is a date.

If Token isn't toFloat or one of the above characters wasn't specified, FloatType is the null character (zero).

See also

TParser.NextToken

  

Reads the next token and returns its type.

TParser.Token

  

The type of the current token.

TParser.TokenFloat

  

Returns the current token as a float.

toFloat

  

Value returned by TParser.Token when a floating point value was found in the input stream.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.