请问vb中那个dim是哪个英文单词的缩写?

来源:百度知道 编辑:UC知道 时间:2024/05/21 08:34:55

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.

在使用变量之前,你必须先声明它。也就是说,你必须让Windows知道你想保留一块内存来保存数据,你要为这个变量取个名字,而且你必须要告诉Windows它将是什么类型的数据(见“变量类型”章节的讨论)。达到这个目的的途径就是使用Dim关键字。(Dim是从早期发展出来的,它是Dimension的缩写,因为你需要保留一定尺寸的内存。如果你喜欢,还可以把Dim当做“Declare In Memory”(在内存中声明)的缩写,这是一个让你记住“Dim”这个关键字的捷径。

没意义!!!!