DIM contra LOCAL

HWSW Famulus hwsw at famulus.hu
Wed Feb 1 21:29:56 CET 2006


>> Ahonnet mas is...
>
>> a fuggveny belsejeben a LOCAL ervenyes
>> azon kivul meg a GLOBAL.

> vb-ben es assemblyben nem igy van.
> ami global az global.

Ettol azert rafinaltabb a VB :-)

KJ

You can also have a variable with the same name at a different scope.
For example, you could have a public variable named Temp and then, within a 
procedure, declare a local variable named Temp.

References to the name Temp within the procedure would access the local 
variable;  !!!!

References to Temp outside the procedure would access the public variable. 
!!!!

The module-level variable can be accessed from within the procedure by 
qualifying the variable with the module name.




More information about the Elektro mailing list