Results 1 to 5 of 5

Thread: Funtion Overloading

  1. #1

    Thread Starter
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Hi,
    Can any one please tell me if i can overload functions like C++, where i can have more then one functions with same name but with diffrent parameters.

    Thanks in advance.


  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523
    As far as I know it will give you an error
    Code:
    Compile Error:
        Ambiguous name detected: FunctionName

  3. #3
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    It's a Great big fat No I'm afraid, VB7 allows overloading, so you'll have to wait.

  4. #4

    Thread Starter
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877

    Smile


    I had a feeling vb wouldnt allow overloading !! Thanks anyway.

    VB7 !!!!!, when is it coming out, Can't Wait.


  5. #5
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523
    I've heard it is coming out at the beginning of the next year. Hope it's true

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