CnPack Forum


 
angjq
新警察
Rank: 1



UID 41766
Digest Posts 0
Credits 28
Posts 10
点点分 28
Reading Access 10
Registered 2009-2-12
Status Offline
Post at 2009-4-7 09:02  Profile | Blog | P.M. 
求教

我是一个DELPHI新手,到现在还理不清楚self的灵活用法,谁能告诉我self参数的使用方法,小弟不胜感谢
Top
rarnu (橙子)
灌水部部长
Rank: 8Rank: 8


UID 2689
Digest Posts 11
Credits 648
Posts 209
点点分 648
Reading Access 10
Registered 2006-10-2
Status Offline
Post at 2009-4-7 18:41  Profile | Site | Blog | P.M. 
self就相当于C++里的this




Rarnu
CnPack Interfacer
rarnu@cnpack.org
Top
angjq
新警察
Rank: 1



UID 41766
Digest Posts 0
Credits 28
Posts 10
点点分 28
Reading Access 10
Registered 2009-2-12
Status Offline
Post at 2009-4-8 11:57  Profile | Blog | P.M. 
谢谢RARNU但是我没有用过C++
Top
jjwwang
普通灌水员
Rank: 2



UID 40594
Digest Posts 0
Credits 50
Posts 22
点点分 50
Reading Access 10
Registered 2008-6-22
Status Offline
Post at 2009-4-8 18:06  Profile | Blog | P.M. 
无语

Top
zzzl (早安的空气)
版主
Rank: 7Rank: 7Rank: 7



UID 590
Digest Posts 0
Credits 399
Posts 199
点点分 399
Reading Access 100
Registered 2004-11-29
Status Offline
Post at 2009-4-18 18:37  Profile | Blog | P.M.  | QQ
self就是谁调用的对象本身
Top
angjq
新警察
Rank: 1



UID 41766
Digest Posts 0
Credits 28
Posts 10
点点分 28
Reading Access 10
Registered 2009-2-12
Status Offline
Post at 2009-4-20 17:15  Profile | Blog | P.M. 
谢谢ZZZL,基本上知道一点了。
Top
 




All times are GMT++8, the time now is 2024-11-22 06:30

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.010513 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP