Sign in Join
FPDoc Onlineexperiment

TryStrToVersionQuad function

In unit FileInfo

Attempts to convert a string to a version quad

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.