[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert string to boolean value, returning default in case of error
Source position: sysstrh.inc line 220
function StrToBoolDef( |
const S: String; |
Default: Boolean |
):Boolean; |
StrToBoolDef tries to convert the string S to a boolean value, and returns the boolean value in case of success. In case S does not contain a valid boolean string, Default is returned.
|
Convert a string to a boolean value |
|
|
Try to convert a string to a boolean value |
lazarus-ccr.sourceforge.net |