Skip to content

StrToDWord

Convert string to DWord (cardinal).

Declaration

Source position: sysstrh.inc line 136

function StrToDWord(const s: string) : DWord;

Description

StrToDWord will convert the string S to a DWord value, and returns the value.

Errors

In case the string S is not a valid number, or is a value outside the DWord range, an EConvertError exception will be raised.

See also

Name Description
TryStrToDWord Try to convert a string to DWord (cardinal).
StrToDWordDef Convert string to DWord (cardinal), using default.