Is there any way of overloading the ^ (dereference) operator for a user-defined type?

I'm looking at a simple Prolog interpreter written in TP3, i.e. 16-bit code, and I think I might even have a fun use for it.

Obviously it's chock-full of segment:offset pointers but if ^ could be overloaded it might make it easier to implement or at least to debug a local heap.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to