PalBooleanToStr

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.

SalString PalBooleanToStr( SalBoolean bTrue )

The PalBooleanToStr method converts a boolean value to the strings 'TRUE' and 'FALSE'.

Parameters

Name Description
SalBoolean bTrue Boolean who's value should be converted to string representation.

Returns

The return value is 'TRUE' if a True value is passed as the bTrue parameter, 'FALSE' otherwise.

Example

Set sTemp = PalBooleanToStr( TRUE )
! sTemp is now 'TRUE'
C# code
i_sPdfArchiving = Int.PalBooleanToStr(cbArchive.Checked); 
//i_sPdfArchiving is now true