gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] Re: Extended accept/display and terminal window.


From: Roger While
Subject: [open-cobol-list] Re: Extended accept/display and terminal window.
Date: Thu May 18 09:43:01 2006

There is practically no code in the library/compiler for this yet.
I did say in the CVS update mail :
PREPARE SYNTAX/exceptions
ie: Parser changes.

Any attempt at this stage to utilize SCREEN and/or
extended ACCEPT/DISPLAY is doomed to failure and
will probably lead to aborts, corruption or other lovely things.

There is a LOT of work still to be done here.
I don't think 0.33 should be delayed because of this.
0.33 is WAY-WAY overdue now.

For info - The extended ACCEPT/DISPLAY are/will be
loosely based on the MF syntax.
(Language ref available at microfocus.com
 -> Documentation and one of Object Cobol,
SE 2.2, SE 4.0)

Roger

Just installed the Version 33 tarball. The tests work fine.

I tested the extended ACCEPT/DISPLAY statements (with
positioning) and they also work fine in a Linux terminal session. But
in a terminal window on the KDE gui the program just quits.
apparently ncurses doesn't work there.

I used the following code:
           DISPLAY "TEST FIELD" LINE 15 COLUMN 1.
           ACCEPT  PARENT-KEY LINE 15 COLUMN 20.

I tried REVERSE on the DISPLAY statement but that just errored
off. Is there a guide somewhere that shows the full range of
parameters possible with Open COBOL 33? I am thinking of reverse,
bold, highlight blink, beep and so on. Since these are not in the
COBOL 85 standard I don't have a good source of information. And
the NIST test suite doesn't cover them.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]