define a public array

Discussion in 'AutoCAD' started by hsharghi, May 14, 2005.

  1. hsharghi

    hsharghi Guest

    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
     
    hsharghi, May 14, 2005
    #1
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 (here). After that, you can post your question and our members will help you out.