++, =+

.net , vb6 United States
  • 17 years ago

    I've asked this before, but nobody answered... In JAVA, there are functions like ++ and =+ so that instead of typing something like:

    Int1 = Int1 + 5

    You could just type:

    [Int1 =+ 5

    Or, ++ which justs adds 1, for example, instead of:

    Int 1 = Int1 + 1

    You would use:

    Int1 ++

    Is there something like this in VB?

  • 17 years ago

    No there isn`t..

    you`ll have to do:  a = a + 1
    or similar

  • 17 years ago

    There will be in VB.NET though :-)

  • 17 years ago

    As the others have already posted.  There is no way as of now, but when .NET comes out there should be a way to do it.

  • Post a reply

    Enter your message below

    Sign in or Join us (it's free).


    Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

    Our tools

    We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

    “Engineers are all basically high-functioning autistics who have no idea how normal people do stuff.” - Cory Doctorow