Search found 1 match

by mrfrisky330
Wed Jun 30, 2021 12:30 am
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Weird error using DISPLAY
Replies: 2
Views: 1773

Weird error using DISPLAY

Hello!

I am struggling with some bizarre errors when using DISPLAY particularly if I try this:

DISPLAY "SHOW FIELD ON SCREEN? (Y/N) (X = EXIT): " WITH NO ADVANCING.

The OpenCOBOL Compiler produces weird errors:
./SchemaCreator.cobc:75: error: 'X' cannot be used here
./SchemaCreator.cobc:75 ...

Go to advanced search