{INTEGER:4} Not Supported in Versions 3.3x

Product Version(s): 3.3x
Operating System:   MS-DOS
Flags: ENDUSER | TAR21447 docerr
Last Modified: 18-AUG-1988    ArticleIdent: Q10861

Problem:
   It is not clear whether the metacommand {$INTEGER:4} is still
supported within PASCAL Version 3.3x. Page 318 in the "Microsoft
Pascal Compiler Reference Manual" mentions this command, saying that
you can use values 2 or 4 as arguments for the $integer metacommand.
   The index on Page 388 tells you that metacommand $integer is
described on Pages 317 and 318. However, Table 18.2 on Page 317 does
not show the metacommand.
   If you use {$integer:4}, the compiler gives you the following
warning:

   Warning 116 Meta Value Out Of Range Skipped

   The Microsoft Pascal Compiler User's Guide states on Page 230 that
only 2 is allowed as an argument for the $integer metacommand;
{$INTEGER:4} will be ignored, producing errors in programs using this
format.

Response:
   {$INTEGER:4} is not supported in Versions 3.3x. These are
documentation errors; only {$INTEGER:2} is supported.
   The documentation probably should not mention the metacommand because
variables declared as type "integer" are two-byte integers, making the
allowed form of this metacommand, {$integer:2}, redundant.
