Blast's Security Lab
31 Oct 2009
其实也是刚接触到PD的,一直没有点点看看的习惯,所以一直没捣鼓清楚子过程放哪儿,以为和VB一样放在“(全局)”下面就可以了,不过对象列表根本没这个,有的只有个“Form”,不过进去之后就是个完整的函数了,不可能还塞函数声明进去
不过一抬头看右上角……原来在这儿“Declares, Includes and Globals”,在这里面是可以加全局过程的,或者包含头文件(.inc)、全局常量、Type定义,按他自己的说法就是:
' Use this module for:
' 1) (CallBack) Declarations
' 2) Type definitions
' 3) Includefiles, note that VD will add the usual includes for you (win32api.inc e.o.).
' (See project settings to turn this behaviour off)
' Using the {APP_PATH_PROJECT} keyword will change to project path.
' 4) Global constants.
function的调用:
type的调用:
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。