恭喜happy_sea(开心海)猜对了! google出的原文如下: Before you can use a variable, you have to declare it. That is, you have to let Windows know you want to reserve memory for storing data in, supply a name for the variable, and you have to tell Windows what type of data it will be (discussed in the variable-types-section). The way to do this is by using the keyword Dim. (Dim stems from earlier days, and is an abbreviation for Dimension, because you reserved a dimension of the memory. If you like, think of Dim as meaning 'Declare In Memory', which is a nice little shortcut that makes sure you'll remember the 'Dim'-keyword for now. (In a few weeks, you won't even have to think about using Dim, it'll be an automatic thing)).
google出的原文如下:
Before you can use a variable, you have to declare it. That is, you have to let Windows know you want to reserve memory for storing data in, supply a name for the variable, and you have to tell Windows what type of data it will be (discussed in the variable-types-section). The way to do this is by using the keyword Dim. (Dim stems from earlier days, and is an abbreviation for Dimension, because you reserved a dimension of the memory. If you like, think of Dim as meaning 'Declare In Memory', which is a nice little shortcut that makes sure you'll remember the 'Dim'-keyword for now. (In a few weeks, you won't even have to think about using Dim, it'll be an automatic thing)).
dimension 的意思是长度、维数
Basic将该词引入并简写为dim
当时是用于声明数组的维数的
随着Basic的发展
dim才被赋予了declare的语义在里面
dimension
蹭分来的