function value = i4_to_l4 ( i4 )

%*****************************************************************************80
%
%% i4_to_l4() converts an I4 to an L4.
%
%  Discussion:
%
%    0 is false, and anything else is true.
%
%    An I4 is an integer value.
%    An L4 is a logical value.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    24 June 2016
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer I4, an integer.
%
%  Output:
%
%    logical I4_TO_L4, the logical value of I4.
%
  if ( i4 == 0 )
    value = false;
  else
    value = true;
  end

  return
end
