What does the below Pascal code mean?
p^.rlink=q
q^.llink=p
The pascal operator ^. is similar to operator -> in C and C++.
It dereferences the pointer (in your case, p should be defined as var p: ^type) and accesses a variable in the record, in this case, rlink and llink.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With