From: shadow-monster via DotNetMonster.com on 28 Mar 2010 23:02 Good Day, Just want to know the difference of Dim p as string Private p as string I'm a little confuse :) Thanks much -- Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-vb-net/201003/1
From: Cor Ligthert[MVP] on 29 Mar 2010 03:15 If you never use the Dim anymore on global level then you won't be confused. Dim is an old VB keyword which like the Cobol "picture" in the days that Basic was created, described more or less the dimension of the used memory in bytes. That it is already a long while no more, because you simply don't know that for a class. So it is currently a word without its real true meaning, but it is very liked by the more older basic programmers. However like you say it confuses. Dim is in a Class Private on global level while it is in a module Shared. In a method it is always private to the method. "shadow-monster via DotNetMonster.com" <u58543(a)uwe> wrote in message news:a5b6673526b0c(a)uwe... > Good Day, > > Just want to know the difference of > > > Dim p as string > > Private p as string > > > I'm a little confuse :) > > Thanks much > > -- > Message posted via DotNetMonster.com > http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-vb-net/201003/1 >
|
Pages: 1 Prev: Drawing Curved Text Next: needs double value in string format |