gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] Re: OC issues - number 4


From: Roger While
Subject: [open-cobol-list] Re: OC issues - number 4
Date: Wed Jan 18 11:38:07 2006

Let me guess - The line with the VALUE is immediately
terminated after the apostrophe with a new-line
and/or the following line is also terminated with a new-line
immediately after the apostrophe.
(At least BOTH are true when doing copy/paste from the post).

This is then invalid.
ie. The apostrophes would concatanate and be interpreted as
one occurrence as per Cobol rules.

Roger


       IDENTIFICATION DIVISION.
       PROGRAM-ID. ztest INITIAL.
       ENVIRONMENT DIVISION.
       DATA DIVISION.
       WORKING-STORAGE SECTION.
       01 A.
               10  FILLER              PIC X(78) VALUE '
      -        '
      -        '      '.
       PROCEDURE DIVISION.
           DISPLAY 'A=' A ';'.
           GOBACK.


Roger




reply via email to

[Prev in Thread] Current Thread [Next in Thread]