Honored Contributor.
Honored Contributor.

Full stops not appearing

Some weird behaviour which I cannot fathom.

Given a simple program:

       identification division.
       environment division.
       configuration section.

       data division.
       working-storage section.
       01 function-key-pressed pic 9(4).

       procedure division.
           stop run.
       end program.

 As typed in Notepad, all full stops appear. When I input to VC2019, by cut/paste from Notepad, the full stops are not reflected and I get errors - COBCH0143 Unknown IDENTIFICATION DIVISION paragraph .

Strangely if I then cut/paste the code from VC to Notepad the full stops are there. Very strange 🤔

1 Reply
Honored Contributor.
Honored Contributor.

Re: Full stops not appearing

So, using a Dark theme means that I cannot see the full stops - duh!
The error disappears when I include a program name after Program-Id and End Program.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.