Skip to content

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

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