我在类模块中不能定义这个
public type addadmintype
....
end type
报错说cannot difine a Public user-defined type within a private object module
为何类模块中无法定义全局性变量啊?是否对于类模块有不同的要求?
而且我现在这样定义了还跑原来一样得错误
private Enum and user defined types cannot be used as parameters or return types for public procedures, pulic data members,or fields of pulic user defined types
怎么好像说私有用户自定义类型不能用于公共进程中啊
当我把定义改为public type dddsh 时,
编译出错,cannot define a Public user-defined type within a private object module