Skip to main content

Full stops not appearing

  • July 10, 2019
  • 1 reply
  • 0 views

Paul Richards

Some weird behaviour which I cannot fathom.

Given a simple program:

identification division. program-id. 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

Paul Richards
  • Author
  • Participating Frequently
  • July 10, 2019

Some weird behaviour which I cannot fathom.

Given a simple program:

identification division. program-id. 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

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.