Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I wonder if there is any way to increment variables?

 

I don't want to use

x =x + 1

anymore :)

 

Is it a good idea (performance?) to write a function like

   Public Sub Inc(ByRef Data As Integer)
   Data = Data + 1
 End Sub

 

Thanks for help!

Posted (edited)

i'm coming from VB6 and i'm new to .NET :)

this is what i was looking for!!!

 

x += 1

 

hehe, thank you!

 

by the way: do you know a good site where VB6 developers can learn about the .NET programming techniques?

Edited by Cyrus

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...