Declaring array constants at module level

  • Thread starter Thread starter Microsoft Forum
  • Start date Start date
M

Microsoft Forum

Hi all,

I have a group of constants which are stored in a single array. This array
is to be accessed by all subroutines and functions within the same module.
Is it possible to declare an array and assign values within it in the module
level? The following seems doesn't work:

Const PublicArray = Array(1,2,3)

Please advise.

Frederick Chow
Hong Kong.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top