Sign in Join
FPDoc Onlineexperiment

TLongBoolHelper.TryToParse function

Member of TLongBoolHelperpublicIn unit sysutils

Try to convert a string to a LongBool value.

Declaration

pascal
class function TryToParse(const S: string; out AValue: Boolean)
: Boolean; static

Description

TryToParse will attempt to convert the string S to a LongBool value. If the attempt is successful, True is returned, and the actual value is returned in AValue. If the attempt failed, False is returned.

See also

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