bug-gnucobol
[Top][All Lists]
Advanced

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

Re: [Bug-GnuCOBOL] WHEN-COMPILED is a reserved word, but isn't supported


From: Edward Hart
Subject: Re: [Bug-GnuCOBOL] WHEN-COMPILED is a reserved word, but isn't supported
Date: Thu, 14 Dec 2017 19:24:34 +0000

Hi Martin,

The WHEN-COMPILED issue is due to changes in how GnuCOBOL handles dialects. You can re-enable the WHEN-COMPILED register with the -fregister=WHEN-COMPILED flag.

The ACCEPT FROM DAY issue has now been fixed and will be available in the soon-to-be-released GnuCOBOL 3.0 release candidate.

Edward

On 14 December 2017 at 18:38, Martin Ward <address@hidden> wrote:

"WHEN-COMPILED" used to work with the last version of open-cobol that
I used (open-cobol-code-862-branches-gnu-cobol-2.0.zip)
but version gnucobol-2.2 gives the error:

error 'WHEN-COMPILED' is a reserved word, but isn't supported

Is there a later test version which has this implemented?


Also, ACCEPT xxx FROM DAY YYYYDDD is giving different results:
the day is off by one.

The result for today (14th December 2017) should be:

2017348

but instead is:

2017347

--
                        Martin

Dr Martin Ward | Email: address@hidden | http://www.gkc.org.uk
G.K.Chesterton site: http://www.gkc.org.uk/gkc | Erdos number: 4



reply via email to

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