Talk:System.SysUtils.StrToBool

From RAD Studio API Documentation
Jump to: navigation, search

"Any use of StrToBool, BoolToStr, or TryStrToBool will cause these variables to be initialised with the default values above."

This is inaccurate in all versions of the documentation. BoolToStr only initializes the TrueBoolStrs and FalseBoolStrs arrays if it is called with the UseBoolStrs parameter set to True. TryStrToBool only initializes them if the S parameter contains a string that does not represent a floating point value.