03-15-2003, 08:53 AM
|
#27
|
Jack Burton 
Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 38
Posts: 5,452
|
Quote:
Originally posted by andrewas:
Regarding the VB stuff we were talking about last night (OK, it was morning for you, who cares), theres a minor bug in the code I gave you.
This is why I use 2d arrays for crap like this, but I guess were stuck with a 1d now.
Anyway, 8 MOD 8 is 0.
So "if index mod 8 < 6" will return true when dealing with column 8, which screws up the whole function. Ill leave the corrections up to you.
|
What about "If index mod 8<6 And Index <> 8" ??
|
|
|