function l4vec_print ( n, a, title )

%*****************************************************************************80
%
%% l4vec_print() prints an L4VEC.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 May 2014
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the dimension of the vector.
%
%    logical A(N), the vector to be printed.
%
%    string TITLE, a title.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, '%s\n', title );
  fprintf ( 1, '\n' );

  for i = 1 : n
    value = ( a(i) ~= 0 );
    if ( a(i) == 0 )
      fprintf ( 1, '%6d: F\n', i );
    else
      fprintf ( 1, '%6d: T\n', i );
    end
  end

  return
end
