input from barcode

sorry i just dont get it

OK. Not too worry.

Where have you defined the names/values of the barcodes that you want to check the scanned on against? That is the (global) array that I called goodCards. If you have another name, we can use that instead.