Sign in Join
FPDoc Onlineexperiment

StrToDWordDef function

In unit sysutils

Convert string to DWord (cardinal), using default.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.