RAD Studio (Common)
ContentsIndex
PreviousUpNext
E2073: Label already defined: '%s'

This error message is given when a label is set on more than one statement.

program Produce;
label 1;
begin
1:
  goto 1;
1:        (*<-- Error message here*)
end.

The example just tries to set label 1 twice.

program Solve;
label 1;
begin
1:
  goto 1;
end.

Make sure every label is set exactly once.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!