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

StrToDWordDef

Convert string to DWord (cardinal), using default.

Declaration

Source position: sysstrh.inc line 148

function StrToDWordDef(

  const S: string;

  Default: DWord

):DWord;

Description

StrToDWordDef will try to convert the string S to a DWord value. If the conversion was successful, it returns the value.

If the conversion failed, the fallback value in Default is returned.

See also

TryStrToDWord

  

Try to convert a string to DWord (cardinal).

StrToDWord

  

Convert string to DWord (cardinal).


Documentation generated on: Nov 23 2024