define a public array
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
define a public array

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
Guest






Posted: Sat May 14, 2005 3:32 pm    Post subject: define a public array Reply with quote

Hi,

I want to define a Public array of strings in a module, so i can access
the array from my main module. but the compiler gives me this error:
"Constants, fixed-lenght strings, arrays, user-defined types and
Declare statements not allowed as Public members of object modules"
according to Visual Basic Reference an array can be defined as Public.
what's wrong? can anyone help me?

Regards,

Hadi

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB