Menu

IDENTIFY FUNCTION KEYS USING ACCEPT

Anonymous
2021-06-07
2021-06-08
  • Anonymous

    Anonymous - 2021-06-07

    ACCEPT DATANAME LINE XXX POSITION XXX
    IF F1 GO TO XXXX

    A SAMPLE SOURCE WOULD BE HELPFUL

    THANKS Bert

     
  • Simon Sobisch

    Simon Sobisch - 2021-06-08

    You'd want to use the CRT-STATUS to query the key pressed, either with a manual define or via the internal register COB-CRT-STATUS. The values to compare those like COB-SCR-F1 are found in screenio.cpy, see https://gnucobol.sourceforge.io/faq/index.html#does-gnucobol-support-crt-status

     

Anonymous
Anonymous

Add attachments
Cancel