Sign in Join
FPDoc Onlineexperiment

TryStrToDWord function

In unit sysutils

Try to convert a string to DWord (cardinal).

Declaration

pascal
function TryStrToDWord(const s: string; out D: DWord): Boolean

Description

TryStrToDWord will try to convert the string S to a DWord value. It returns True if the conversion was successful, and in that case returns the value in D.

If the conversion failed or the value was outside of the valid range for DWord values, False is returned.

See also

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