".R" Field in ADS Variable Incorrectly Assigned

Product Version(s): 3.30 3.31
Operating System:   MS-DOS
Flags: ENDUSER | TAR51446 buglist3.30 fixlist3.31
Last Modified: 30-SEP-1988    ArticleIdent: Q10813

With MS-DOS Pascal Version 3.30, the ".R" field of an ADS variable can
be incorrectly assigned. The assignment is incorrect if it is made as
follows:

(ADS OF RECORD TYPE)^.FIELD.R:=(ads of record type).r
(ADS OF RECORD TYPE)^.FIELD.S:=(ads of record type).s

If a temporary ADS variable is used to hold the address of the
allocated memory, the assignment is made correctly.

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

