|
Thread: +=
-
Apr 7th, 2003, 12:52 AM
#1
Thread Starter
PowerPoster
+=
How come in VB it uses += for text and numbers?
Example:
Dim i as integer
i+=1
Also
Dim s as string
s+="asd"
Shouldn't it be
s&="asd"
I mean for continuity sake? i've always been taught not to use the "+" sign to add strings... it seems very odd.
Or am i completely wrong about the sign? This is what i've seen in a book i'm learning from.
-We have enough youth. How about a fountain of "Smart"?
-If you can read this, thank a teacher....and since it's in English, thank a soldier.

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
|