|
-
Apr 29th, 2006, 08:01 AM
#1
Thread Starter
Lively Member
? re global variable
Hiya
I need to declare an array called Data as a global variable within a module.
I have added the module and written the vb code as
Visual basic code
------------------------------------------------------------------------
Option Explicit
Public Data(0 to 3) as Global
------------------------------------------------------------------------
When I select global I get a comile erroe advising Expected new or type name.
I am doing this for a course I am doing, I need the array to use it within a pie chart creation using a circle and I do not have help functionality on my VB software.
Can anyone tell me, what the global refers to and if what I am using is correct, or whether I should be using something different.
Thanks
Tracey
Last edited by Tazmania; Apr 29th, 2006 at 08:36 AM.
Reason: resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|