Sign in Join
FPDoc Onlineexperiment

TWordBoolHelper.Parse function

Member of TWordBoolHelperpublicIn unit sysutils

Convert string value to WordBool value.

Declaration

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

Description

Parse attempts to convert the string S to a WordBool 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.