Dim为Dimension的缩写,后面加上所需变量的名字As为变量指定类型程序运行时,Dim语句就根据变量类型为变量分配内存空间 转载于:https://www.cnblogs.com/shuibi/p/6566495.html