dim a ,b,c as integer与dim a as integer,b as integer,c as integer有区别吗

2024-12-12 23:49:53
推荐回答(1个)
回答1:

有区别。
第一种定义(dim a ,b,c as integer)结果,只有 C 是integer,其他两个是混杂类型,就是什么都能存。
第二种定义(dim a as integer,b as integer,c as integer),a b c 都是 integer