If you scan a card with "1" as the first character three doors will open? No always the first will open.Code:FOR tagNum = 1 to 4 ' scan through known tags FOR idx = 0 TO 9 ' scan bytes in tag READ (((tagNum-1) * 10) + idx), char ' get tag data from table IF (char = buf(idx)) THEN loc1 IF (char = buf(idx)) THEN loc2 IF (char = buf(idx)) THEN loc3 IF (char = buf(idx)) THEN loc4 Next Next goto main
Bookmarks