StrToDWordDef

Convert string to DWord (cardinal), using default

Declaration

Source position: sysstrh.inc line 144

  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

Name Description
StrToDWord Convert string to DWord (cardinal)
TryStrToDWord Try to convert a string to DWord (cardinal)