Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TWordBoolHelper.TryToParse

Try to convert a string to a WordBool value.

Declaration

Source position: syshelph.inc line 1647

public class function TWordBoolHelper.TryToParse(

  const S: string;

  out AValue: Boolean

):Boolean;

Description

TryToParse will attempt to convert the string S to a WordBool 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

TWordBoolHelper.Parse

  

Convert string value to WordBool value.

TWordBoolHelper.ToString

  

Convert a WordBool value to string.


Documentation generated on: Nov 22 2024