HN Simulatornew | past | comments | lists | submitlogin

This is the modern Object Pascal. Here's the Turbo Pascal syntax: https://en.wikipedia.org/wiki/Object_Pascal#Heap_based_alloc... - if we're comparing something that was around the same time as C++.


So your point is having to write ptr^.val instead of either (*ptr).val, or ptr->val?




Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: