Navigation: Contents   Index   Previous   Next

StrToIntDef(s:string;default:integer):integer

StrToIntDef converts the string S, which represents an integer-type number in either decimal or hexadecimal notation, into a number. If S does not represent a valid number, StrToIntDef returns Default.

a=StrToIntDef("12",1)

Navigation: Contents   Index   Previous   Next



Copyright © 1998 - 2012 Paessler AG