[fpc-pascal] replacement of MARK and RELEASE function in free pascal

Дмитрий Померанцев pda2 at yandex.ru
Thu Jun 19 13:00:28 CEST 2014


Forget it. Mark and Release are very DOS, real mode functions. Use New/Dispose or GetMem/FreeMem instead and make proper control of dynamically allocated blocks.

Dmitriy Pomerantsev.

19.06.2014, 14:50, "mokashe.ram" <mokashe.ram at gmail.com>:
> Hi,
>
>   Can any one help me on raplacement of MARK and RELEASE function in free
> pascal...
>
>    var
>           markexam: pointer; // untyped pointer
>   begin
>              ...
>            * mark(markexam);
>             .....
>             Release(markexam);* end;
>
> Thanks,
> Sud
>
> --
> View this message in context: http://free-pascal-general.1045716.n5.nabble.com/replacement-of-MARK-and-RELEASE-function-in-free-pascal-tp5719624.html
> Sent from the Free Pascal - General mailing list archive at Nabble.com.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list