Sign in Join
FPDoc Onlineexperiment

StrToProgramVersion function

In unit FileInfo

Converts a string to a program version record

Declaration

pascal
function StrToProgramVersion(const S: string): TProgramVersion

Arguments

S

String to parse as program version

Function result

Parsed program version

Description

StrToProgramVersion parses a version string and converts it to a TProgramVersion. Raises an exception if the string cannot be parsed.

Errors

Raises EConvertError if the string is not a valid version format.

See also

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