[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

TWordHelper

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Helper for a Word-typed ordinal value

Declaration

Source position: syshelph.inc line 459

type TWordHelper = type helper

public

Const

  MaxValue = 65535

  

Maximum value for a Word

  MinValue = 0

  

Minimum value for a Word

  class function Parse();

  

Convert from a string

  class function Size;

  

Size, in bytes, of the Word value

  class function ToString();

  

Convert the value to string

  class function TryParse();

  

Try to convert a string to a Word, report success or failure

  function ToBoolean;

  

Convert to a boolean value

  function ToDouble;

  

Convert to a double-sized floating point value

  function ToExtended;

  

Convert to an extended-sized floating point value

  function ToBinString;

  function ToHexString();

  

Convert to a hexadecimal string representation

  function ToSingle;

  

Convert to an single-sized floating point value

  function SetBit();

  function ClearBit();

  function ToggleBit();

  function TestBit();

end;

Inheritance

TWordHelper

  

Helper for a Word-typed ordinal value

Description

TWordHelper contains some auxiliary routines for a Word-typed ordinal value. It consists mainly of conversion routines to and from other types.

See also

TStringHelper

  

Helper type for strings.

TShortIntHelper

  

Helper for a ShortInt-typed ordinal value

TSmallIntHelper

  

Helper for a SmallInt-typed ordinal value

TByteHelper

  

Helper for a byte-typed ordinal value

TCardinalHelper

  

Helper for a Cardinal-typed ordinal value

TIntegerHelper

  

Helper for a Integer-typed ordinal value

TInt64Helper

  

Helper for a Int64-typed ordinal value

TQWordHelper

  

Helper for a QWord-typed ordinal value

TNativeIntHelper

  

Helper for a NativeInt-typed ordinal value

TNativeUIntHelper

  

Helper for a NativeUInt-typed ordinal value


Documentation generated on: May 14 2021