Global Variable

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Rodolfo Fontes (rodolfofontes_at_yahoo.com.br)
Date: 11/11/04


Date: Thu, 11 Nov 2004 10:26:24 -0300

Hi group,

Which is the sintax on vb6 to define a variable as global?
I have the following code, and i wanna call all this variables on other Subs
in the same form.

Private Sub Form_Load()

Dim var_C, var_B, var_E, var_D, var_DCE, var_DCD, var_DBE, var_DBD As String
Dim var_ZT, var_ZW, var_S, var_IC, var_IO, var_FN, var_FF As String

'#######################################################
'http://>/serial[?<parameter>=<value>]
'Declaração das variáveis utilizadas para mover a câmera

    'Cima
    var_C = "ff010008202049"

Thanks,
Rodolfo Fontes



Relevant Pages

  • Re: Combination or Permutation question!
    ... i wanna find out all possible combinations of each subs. ... Oops, no, I misread. ...
    (comp.lang.php)
  • Bogged down on things
    ... on in VB6 and it's mainly to do with variables & subs. ... keyword; passing arrays to and from a sub; returning vars from a sub in ... inexpensive books) that explains all this reasonably simply? ...
    (comp.lang.basic.visual.misc)