vb6 - In VB for loops is less that or greater than allowed? -
eg code
llngindex = 0 llngindex < 256 step 1 lbytkeyary(llngindex) = val(pstrkey((llngindex mod llngkeylength))) next is llngindex < 256 allowed?
when debug code , go step step seems skip loops
the correct code loop:
for llngindex = 0 255 lbytkeyary(llngindex) = val(pstrkey((llngindex mod llngkeylength))) next note: no need step 1 because step 1 default value
Comments
Post a Comment