From: Mike Stok Date: 2006-12-14T19:56:51+09:00 Subject: Re: What is the meaning of Dim On 14-Dec-06, at 4:09 AM, Li Chen wrote: > Paul Lutus wrote: >> Basically, in VBA, "dim" causes a variable to be declared and >> associated >> with a predefined data type or class. > > In Ruby def is a breviation for the word define and what is the full > name for dim in VBA? I want to know it just out of curiocity. I don't > pay much attention to VBA but when I use WIN32OLE for Excel > automation I > would like to know a little more. My vague memories of Basic (not Visual Basic) include using DIM to dimension arrays - see http://en.wikipedia.org/wiki/ Dartmouth_BASIC#List_of_statements I don't know when it changed into a general declaration lead-in. Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply.