作者albb0920 (么柏)
看板Visual_Basic
标题Re: [VB6 ] adressOf 运算子
时间Mon Aug 11 07:53:37 2008
※ 引述《loveviolin (violin)》之铭言:
: 小弟因课业需求初学VB
: 在读程式的程式时遇到下列程式码中的问题
: 1 Sub ChappRUN()
: 2 ZipappWnd=0
: 3 TempAppWnd=0
: 4 EnumWindows AddressOf EnumWindowsProc , 0&
: 5 End sub
: http://msdn.microsoft.com/zh-tw/library/y72ewk2b(VS.80).aspx
: 在行5中用到 AddressOf 运算子,我查过MSDN(如上网址)他的叙述是委任??
: 但是,不知道是哪边委任给哪边,更白化的意思是什麽?
: 在行4後面 "0&" 的意思又是什麽??
: 望请各位大大帮忙...
0&的话,&是型别字元
以下 MSDN
识别项型别字元 资料型别 范例
% Integer Dim L%
& Long Dim M&
@ Decimal Const W@ = 37.5
! Single Dim Q!
# Double Dim X#
$ String Dim V$ = "Secret"
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.134.147.245
1F:推 loveviolin:看完 我懂了!!.......乡q 08/11 19:45