Unresolved External: avlgqq

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

Problem:

The following program compiles successfully, but generates the
unresolved external "avlgqq" at link time. The following is a short
example code:

   PROGRAM TEST(INPUT,OUTPUT);
   TYPE RTYPE=(TYPE1,TYPE2);
   RECTYPE=RECORD
   CASE T:RTYPE OF
   TYPE1:(UDEF:INTEGER);
   TYPE2:(FID:REAL);
   END;
   VAR ADS_REC:ADS OF RECTYPE;
   PTR_REC:^RECTYPE;
   BEGIN
   NEW(PTR_REC);
   PTR_REC^:=ADS_REC^;
   END.

Response:

The avlgqq external is a routine to move a variable number of bytes
from a segmented address to the heap. It appears that there has not
actually been such a routine in the library for quite a while. An
avlgqq routine has now been written and placed in the PASCAL.LIB for
Versions 3.30 and later.

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