Home > Archive > Cobol > August 2006 > Standards - Compiler directive >>IF nitpick
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Standards - Compiler directive >>IF nitpick
|
|
| Roger While 2006-08-09, 3:55 am |
| Looking at 7.2.14.1 - IF directive/General format, it reads as
though text-1 and text-2 can be on the same line as the IF
respectively the ELSE.
This, of course, is not true as made plain by the then following syntax
rules.
Recommendation - In the General format, move text-1 and text-2 to
seperate lines.
(It's also like this in 2002)
Roger
| |
| William M. Klein 2006-08-09, 3:55 am |
| As I recall, this was discussed before the '02 Standard. The problem is that if
text-1 and text-2 were on "separate" lines, they would look like they were
options that could appear INSTEAD of >>IF and >>ELSE.
Syntax rules may ALWAYS put "constraints" on what appears in the diagrams.
--
Bill Klein
wmklein <at> ix.netcom.com
"Roger While" <simrw@sim-basis.de> wrote in message
news:ebbupm$4vg$03$1@news.t-online.com...
> Looking at 7.2.14.1 - IF directive/General format, it reads as
> though text-1 and text-2 can be on the same line as the IF
> respectively the ELSE.
> This, of course, is not true as made plain by the then following syntax rules.
> Recommendation - In the General format, move text-1 and text-2 to
> seperate lines.
>
> (It's also like this in 2002)
>
> Roger
>
>
>
>
|
|
|
|
|