Re: SAME AS ('02 Standard) Clause - and circulatiy



In the game "Break the Standard", I came up with one
that appears to have anomalous behavior

1 C SAME AS A2 OF B.
1 B.
2 B1 PIC X.
2 B2 TYPE TO A.
1 A IS TYPEDEF.
2 A1 PIC X.
2 A2 PIC X.

SAME AS SR(1) permits qualified names; SR(7) permits
reference to an elementary item; and GR(1) covers
expansion using A2 OF B. However A2 OF B can not
be known until B2 of B is expanded and I find no
general rule requiring the expansion of B2 OF B to reveal
A2; nor any syntax rule limiting [SAME AS] data-name-1
to what is explicitly defined in source code.

Reverse the order of the level-number 1 items and expansion
of B2 OF B makes A2 OF B known before the expansion
of C.

In other words, as written, it appears to be a syntax error;
reversed, there appears to be no error.



.



Relevant Pages

  • Re: Infinite precision floating-point
    ... 0.NIL ... (multiple-value-bind (expansion repeating-value) ... (let* ((reverse (reverse expansion)) ...
    (comp.lang.lisp)
  • Re: Earth expansion - puzzled......
    ... >Cart, horse, reverse. ... The unanswered question is what would cause the expansion. ... does so much of the Earth, if not all, have features which fits ... and just pretend the evidence does ...
    (sci.geo.geology)
  • Re: Earth expansion - puzzled......
    ... >>Cart, horse, reverse. ... > You do understand the mechanism for EE is EXPANSION? ... > Blather in your mind means what? ...
    (sci.geo.geology)