declare global variable (with value)

homer2002

Registered User.
Local time
Today, 19:59
Joined
Aug 27, 2002
Messages
152
can I declare a variable and give it a value at the same time


e.g.

global temp ="hello" as string

???

does anyone know if I can do this.
 
Public myVariable As String = "Hello"

You can also declare a constant in the same manner

Public Const myVariable As String = "Hello"

HTH
Rob
 

Users who are viewing this thread

Back
Top Bottom