Visual Basic tomb globalis deklaracio hogyan?
HWSW Famulus
hwsw at famulus.hu
Tue Apr 18 15:15:21 CEST 2006
Horvath Zsolt wrote:
> Sziasztok!
>
> Hogyan lehet VB6.0-ban tömböt globálisan deklarálni?
> Még mindig a dsPIC programozón dolgozok. File megnyitáskor
> fel kellene töltenem egy tömböt a megfelelő byte-okkal és
> ezt a tömböt kellene több helyről is elérnem. Globálisan -
> amennyire én tudom - nem lehet töböt deklarálni.
> Akkor marad mindig a tömb átadása paraméterként?
> Nincs erre valami egyszerű megoldás?
de van ...
megpedig megintcsak a help olvasasa...
Public Counters(14) As Integer
egy modulban es nem egy formon deklaralva
KJ
Declaring Fixed-Size Arrays
There are three ways to declare a fixed-size array, depending on the scope
you want the array to have:
a.. To create a public array, use the Public statement in the Declarations
section of a module to declare the array.
b.. To create a module-level array, use the Private statement in the
Declarations section of a module to declare the array.
c.. To create a local array, use the Private statement in a procedure to
declare the array.
> Üdv.: Horváth Zsolt
More information about the Elektro
mailing list