JCL Help:IntToBool

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns a boolean representation of an integer value.


Pascal

 function IntToBool(I: Integer): Boolean;


Parameters

Parameters Description
I: Integer The integer value for which you want the boolean representation.


Return Value

If I does not equal 0 (1 for example) the result is the boolean True. if I equals 0 the result is the boolean False.


Description

IntToBool returns a boolean representation of an integer value.


About

Unit

JclSysUtils


Donator

Jean-Fabien Connault


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page