Menu

Accept statement prompt

GnuCOBOL
Jason
2022-09-30
2022-10-03
  • Jason

    Jason - 2022-09-30

    I have a pic 9(9) and I don't want to see a prompt of 000000000 on ACCEPT.
    How can I change that?

     
    • Simon Sobisch

      Simon Sobisch - 2022-10-01

      I haven't checked, maybe BLANK WHEN ZERO in the variable definition is enough?

       
  • Eugenio Di Lorenzo

    Please have a look at Chapter 3.32 How can I properly manage numeric fields with extended screen IO ?
    available at GnuCOBOL FAQ: https://gnucobol.sourceforge.io/faq/index.html

     
    • Jason

      Jason - 2022-10-03

      Thank you Eugenio ! That worked.

       

Log in to post a comment.