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

TryStrToVersionQuad

Attempts to convert a string to a version quad

Declaration

Source position: fileinfo.pp line 120

function TryStrToVersionQuad(

  S: string;

  out Quad: TVersionQuad

):Boolean;

Arguments

S

  

String to parse as version quad

Quad

  

Variable to receive the parsed version quad

Function result

Returns True if the string was successfully parsed

Description

TryStrToVersionQuad parses a version string and converts it to a TVersionQuad. Returns True if the conversion was successful, False otherwise. Accepts strings in the format "major.minor.revision.build".

See also

TVersionQuad

  

Array type for storing four-part version numbers

StrToVersionQuad

  

Converts a string to a version quad

TryStrToProgramVersion

  

Attempts to convert a string to a program version record


Documentation generated on: Dec 15 2025