Warning for Label Following Hex Number

Product Version(s): 3.20
Operating System:   MS-DOS
Flags: ENDUSER | TAR50109 buglist3.20 fixlist3.30
Last Modified: 30-SEP-1988    ArticleIdent: Q10412

Problem:

The following program fragment contains an example of an integer label
following a hex number (16#30). This causes the PAS1 compiler message
"Warning 280 Invalid Integer Label" to be generated. If any statement
is included between the two statements, no warning statement is
generated.

The following is a short example code:

   program xx(input,output);
   label 10;
   VAR dummy,HEXNUM : word;

   PROCEDURE HEY(VAR OOPS : word); extern;

   begin
   HEXNUM := 16#30;
   10: HEY(dummy);
   if (dummy<>0) then goto 10;
   end.

Response:

In the case above, a flag remains set that indicates the
number 10 is in hex radix. Because the hex radix is not legal
in numeric labels, a warning is emitted.

Microsoft has confirmed this to be a problem in Version 3.20. This
problem was corrected in Version 3.30.
