Function _parl() Foundation
Determines the value of a logical parameter.
BOOL _parl(XppParamList pList, ULONG ulIndex, ...);
Returns TRUE (= 1) or FALSE (= 0). When the parameter does not contain a logical value, FALSE is returned.
_parl() is used to read a logical value from a parameter.
/*
Reads a logical value from a parameter.
*/
#include <xpppar.h>
BOOL logic;
/* Is parameter 4 a logical value ? */
if ( XPP_IS_LOGIC( _partype(<pList>, 4) ) )
{
logic = _parl(<pList>, 4); /* OK, read */
}
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.