Results 1 to 4 of 4

Thread: Create Custom Operator

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2001
    Location
    USA
    Posts
    1,026

    Create Custom Operator

    Buenos Dias Amigos,

    Is there a way to create a custom operator for VB.Net? I wanna do something like the "++" or "--" operations in C++.

    Does anyone have any idea on where I should get started?

    Thanks,

    Squirrelly1
    Now happily married and still crankin' away at the keyboard. Life is grand for a coder, no?

  2. #2
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246
    Is it to much to just :

    VB Code:
    1. Variable+=1

    ?

    Phreak

    Visual Studio 6, Visual Studio.NET 2005, MASM

  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    I don't think operator overloading is available in VB until Whidbey comes out. You can do it in C#, however.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2001
    Location
    USA
    Posts
    1,026
    Phreak,

    I did not know that this operator existed.

    Thanks



    crptcblade,

    What is Whidbey?

    Thanks again,

    Squirrelly1
    Now happily married and still crankin' away at the keyboard. Life is grand for a coder, no?

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