Sign in Join
FPDoc Onlineexperiment

StrToInt64Def function

In unit sysutils

Convert a string to an Int64 value, with a default value.

Declaration

pascal
function StrToInt64Def(const S: string; Default: Int64): Int64

Description

StrToInt64Def tries to convert the string S to a Int64 value, and returns this value. If the conversion fails for some reason, the value Default is returned instead.

Errors

None. On error, the Default value is returned.

See also

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