Hi Jan,

Using the release 2405 I saw a small bug in code explorer for COBOL programs. 
"w-other-var" at line 19 and "end-if" at line 24 are shown as paragraphs, but
they are respectively a variable and a reserved word.

(click the Quote link for this post to get the right indentation of the sample
program): 

       identification             division.
       program-id.                test.
       
       environment                division.
       configuration              section.
       special-names.
           decimal-point     is   comma.
       
       data                       division.
       working-storage            section.
       01  wrk-vars.
           05 w-var               pic is x(10).
           05 w-other-var         pic is x(10).
       
       procedure                  division.
       start-of-program.
           move    "aa"      to   w-var.
           display                w-var,
                                  w-other-var.
       
       test-paragraph.
           if w-var = spaces
              display "some text",
           end-if.
       
       end-of-program.
           stop                   run.

-- 
<http://forum.pspad.com/read.php?6,55295,55440>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem