Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2002
    Posts
    121

    Question Unanswered: Text_io.put_line

    Anyone know how I can create a line break when using
    TEXT_IO.PUT_LINE

    For example, instead of the screen output displaying on one line, as below....

    John was hired Mar 17, 2007.

    I would prefer....

    John was hired
    Mar 17, 2005

  2. #2
    Join Date
    Jan 2004
    Posts
    492
    You can probably use chr(10) -

    text_io.put_line(:emp || ' was hired ' ||chr(10) || :hiredate);
    Oracle OCPI (Certified Practicing Idiot)

  3. #3
    Join Date
    Aug 2002
    Posts
    121
    yes, that works.

    thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •