首页 > lang > dim 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
DIM
This keyword is used for declaring local variables.

All DIM declarations must be in the FUNCTION or SUB before the first executable command.

Example

DIM fTimeDiff2 AS Float
DIM iTest AS Integer
DIM iK[9] AS Integer ' ik[0] to ik[8]
DIM shX[3,3] AS Short
DIM date1 AS Date

iTest = 8

参见

Local Variable Declaration, Naming Conventions