Menu

#425 GOTO in Alternatives in IF and CASE  Edit

compiler_V2
open
nobody
None
2024-05-22
2024-05-22
No

currently the following code snipplet compiles are runs:

       IF x < 1 THEN
then:
           GOTO next;
      ELSE
else:      
        GOTO then;
      FIN;

Such constructs should not be allowed in high level programming languages independent of the fact that C++ does allow this.

Compiler and language report should become sharpened.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB