Hello all;
I've installed cygwin for my Windows 7 pc, then I've installed OpenCOBOL 2.0.
I wanted to test my compiler using the following program:
::cobol
Identification division.
Program-id. disp1.
Procedure division.
Display "Hello world!" line 15 position 10.
Stop run.
When i tried running it with:
cobc -x disp1.COB
returns the following
$ cobc -x disp1.COB
disp1.COB: 5: Warning: Line not terminated by a newline
Any hints or suggestions are appreciated.
Regards
tochma
Add a new line at the end of the source and make sure that the last
coding line is terminated with new line/
It looks like you stopped typing at "run." without pressing the return key!
It is NOT a Bug so this can be closed.
Last edit: Simon Sobisch 2015-01-10
Hi Vince,
as you've pointed out the ticket is invalid. You can change tickets yourself as you are in the ticket moderator group (in the upper part where the title is to the right "Edit").
As I already was in to post this I've changed the ticket, keep in mind that you're allowed to do so, too.
Simon
Last edit: Simon Sobisch 2015-01-10
Nonetheless:
Hi tochma, welcome to GnuCOBOL.
BTW: If you're evaluating something I highly suggest to use the 2.0 version of GnuCOBOL, not the old alpha-status OpenCOBOL 2.0 (preferable via svn checkout, but a slightly older tarball version can be found in the download area, too [named nightly as it is a not full tested version; in general more tested and better than the OC 2.0 version]).
Simon