StrToBoolDef function
Convert string to boolean value, returning default in case of error.
Declaration
function StrToBoolDef(const S: string; Default: Boolean): BooleanDescription
StrToBoolDef tries to convert the string
S to a
boolean value, and returns the boolean value in case of success. In case
S does not contain a valid boolean string,
Default is
returned.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
