Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalBoolean PalStrToBoolean( SalString sTrue )
The PalStrToBoolean method the strings 'TRUE' and 'FALSE' to the corresponding Salboolean value.
Name | Description |
---|---|
SalString sTrue | SalString who's value should be converted to Salboolean representation. |
The return value is TRUE if the string 'TRUE' is passed as a parameter, FALSE otherwise.
Set bTemp = PalStrToBoolean( 'TRUE' ) ! bTemp is now TRUEbValue = Int.PalStrToBoolean("true");
//bValue is now true