Sign in Join
FPDoc Onlineexperiment

TLongBoolHelper.Parse function

Member of TLongBoolHelperpublicIn unit sysutils

Convert string value to LongBool value.

Declaration

pascal
class function Parse(const S: string): Boolean; static

Description

Parse attempts to convert the string S to a LongBool value. It uses the StrToBool function to perform the conversion.

Errors

If S does not contain a valid string representation, then an EConvertError exception is raised.

See also

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