-
November 2nd, 2009, 02:03 PM
#1
increment operator
hi all, is there a ++ or -- post/pre-increment operator in visual basic?
-
November 2nd, 2009, 02:16 PM
#2
Re: increment operator
There are no increment or decrement operators in VB.NET.
-
November 2nd, 2009, 05:12 PM
#3
-
November 2nd, 2009, 06:58 PM
#4
Re: increment operator
As stated, no...you can read a little insight as to why here and here. However, you can use the following...
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
November 2nd, 2009, 07:03 PM
#5
Re: increment operator
ok thanks alot, anyway, why isn't * allowed in imports like
-
November 2nd, 2009, 07:13 PM
#6
Re: increment operator
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
November 2nd, 2009, 07:18 PM
#7
Re: increment operator
but that way i would have to refer to functions in the innerclass as innerfunction.somestuff() whereby i jus wish to refer to it as somestuff()
-
November 2nd, 2009, 07:28 PM
#8
Re: increment operator
True. But, that could cause problems for duplicate methods within subclasses. I don't believe a method or workaround of this type exists in VB.NET.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
November 2nd, 2009, 07:58 PM
#9
Re: increment operator
ok thanks, i was thinking that if it had duplicate methods i could then call it innerclass.duplicatemethod since the compiler would realise its duplicate instantly
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
On-Demand Webinars (sponsored)
|