我连问题都不知道该怎么提了,请帮忙看一下
如果一次需要传递很多参数,这时怎么办?
请介绍一下使用type,对象,在函数中怎么使用这些东西?
publict type testtype
aa as interger
bb as string
cc as boolen
end type
publict dd as testtype
publict function ee() as testtype
.....
....
.....
ee.aa=....
ee.bb=...
ee.cc=...
end function
我不知道这样写对不对,主要目的就是,定义一个类型,然后传这个类型的各个属性的值进来,然后对这个类型的各属性的值进行更改,然后把这个类型的各个属性值传回来。
比如说,我现在想知道ee.aa的属性值是多少,这时候怎么办?唉,我也晓不得该咋个问法,因为我自己都搞不清我自己想知道什么,各位帮下忙。