title: dbms_output cannot print boolean?
body: <p>I am learning cursors and I cannot print the boolean value in the</p>
  
  <pre><code>dbms_output.put_line();
  </code></pre>
  
  <p>The code is </p>
  
  <pre><code>DECLARE
  CURSOR c_employees_3i is
  SELECT * FROM employees_3i;
  row_count BOOLEAN;
  BEGIN
  OPEN c_employees_3i;
  row_count := c_employees_3i%isopen; 
  Dbms_Output.put_line(bool_to_text(row_count));
  CLOSE c_employees_3i;
  END;
  </code></pre>
  
  <p>I get this error </p>
  
  <pre><code>ORA-06550: line 8, column 22:
  PLS-00201: identifier 'BOOL_TO_TEXT' must be declared
  ORA-06550: line 8, column 1:
  PL/SQL: Statement ignored
  </code></pre>
  
  <p>Please help me to rectify the error. Thanks</p>