本文介绍了插入符号点 (^.) 是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
下面的 Pascal 代码是什么意思?
What does the below Pascal code mean?
p^.rlink=q q^.llink=p 推荐答案pascal 运算符 ^. 类似于 C 和 C++ 中的运算符 ->.
The pascal operator ^. is similar to operator -> in C and C++.
它取消引用指针(在您的情况下,p 应定义为 var p: ^type)并访问记录中的变量,在这种情况下,rlink 和 llink.
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.
更多推荐
插入符号点 (^.) 是什么意思?
发布评论