|
-
Sep 2nd, 2006, 02:57 AM
#1
Thread Starter
Addicted Member
[RESOLVED] backslash
a simple question...
[Highlight=VB]
y = Mid(Text1.Text, (Len(Text1.Text) \ 2), 3)
[/vbocode]
what does the \ 2 means?
thanks
-
Sep 2nd, 2006, 03:15 AM
#2
Re: backslash
It means divide by 2 but because it uses the backslash it means its using integer division so the return would have no decimal places
9 / 2 = 4.5
9 \ 2 = 4
casey.
-
Sep 2nd, 2006, 03:19 AM
#3
Thread Starter
Addicted Member
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
|