am having a problem with mod in
VB. Here is the problem code
Dim intKeyChar As Integer
Dim strKey As String
.
strKey = "1234"
.
intKeyChar = (i Mod Len(strKey))
The problem is that when i took this information, i = 28, and Len(strKey) = 4, so going by what i know of basic maths, 28/4 = 7, correct??? so why does intKeyChar = 0??? Is there something i have misunderstood about this operator?
-=-=-=-=-=-=-=-=-=-
LordBeholdeR