Results 1 to 5 of 5

Thread: Differences?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    425

    Differences?

    what are the differences between a bas module and a cls module??

  2. #2
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    cls are like .dll's that you reference.
    bas is just a container that stores code, but doesnt have a window.
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  3. #3
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011
    1. If you declare any public thing in bas module, it will be global and equally accessible from all the project, But to use any member of class module you'll first have to create its Object.
    2. Module contains code, Class builds your program structure and blueprint.

  4. #4
    Addicted Member
    Join Date
    Feb 2002
    Posts
    242
    Class modules are mostly used for Object Oriented Programming.
    As in OOPS, why did I learn this stupid way of programming


    (I know Im gonna get a lot of crap for that one)

  5. #5
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011
    I am hurt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width