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

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

TryStrToDWord

  

Try to convert a string to DWord (cardinal).

StrToDWordDef

  

Convert string to DWord (cardinal), using default.


Documentation generated on: Oct 27 2024