Working Around Lack of MARKAS and RELEAS

Product Version(s): 3.20 3.3x
Operating System:   MS-DOS
Flags: ENDUSER |
Last Modified: 23-FEB-1988    ArticleIdent: Q10413

Question:
   The MARKAS and RELEASE procedures do not function correctly in
Version 3.20, and will not be included in 3.3x versions. We have got a
workaround for our product that uses the ALLMQQ and FREMQQ procedures
instead. Do these procedures work correctly, and will they be
supported in future releases of Microsoft Pascal?

Response:
   Yes the ALLMQQ and FREMQQ procedures do work in 3.3x, and we do
plan to provide support for them in the future.
   It is entirely possible to use ALLMQQ/FREMQQ to implement some sort
of heap management. However, if these could be used to easily
implement the functional equivalent of MARKAS and RELEAS then we would
still be supporting MARKAS and RELEAS in 3.3x (i.e., these function
were dropped because it was determined that they did not work
correctly and there was no good way to make them work correctly with
our heap implementation). You should review the heap management used
in Version 3.3x to see what effects this may have on your particular
implementation.
