Posted by: human | Date: 09/24/2014 20:03 | IP: IP Logged
pspad:MadCompie:The COBOL syntax is OK! I had to change the last col to 72 in the highlighter settings ; by default it was 71.
What is the correct default value for strict syntax? 71 or 72?
72 is the correct column to set. But with col 72 set you see the error that columns 74+ are marked (should be columns 73+) [retested with r2503].
For testing purposes click on "quote" and copy the following source to PSPad, both "a" at end of line 1 should be marked.
DISPLAY "THIS IS A VERY LONG STRING OVER THE MAXIMUM WITH LINaa
- "E CONTINUATION VIA INDICATION AREA"
Retested with r2503, too: the end of strings isn't correctly recognized on first file load (gets corrected if you edit somewhere in the line).
For testing purposes click on "quote" and copy the following source to PSPad, use COBOL free format - both strings are correctly recognized. Now save the file and close + reopen PSPad. You'll have the file auto-loaded but the first string ending is not recognized.
05 LINE PLUS 1 COLUMN 1 VALUE '<---LOWLIGHT---><---HIGHLIGHT--><----LOW,REV---><---HIGH,REV--->'.
05 LINE PLUS 1 COLUMN 1 BACKGROUND-COLOR 0 FOREGROUND-COLOR 0 VALUE '00'.
Thank you for your work!