私はグーグルシートでRFIDスキャナーからのパンチインを整理するプログラムを作ろうとしています...
スキャン[i]を従業員名[j]と照合しようとすると、成功しません。
簡単なifステートメントがあります。
//names[i] is the name of the card for the scan event (card names = employee full name)
var name = names[i];
//the j for loop will check all employee names in the list for a match
var employee = employees[j];
if (name==employee) {
var ifsuccess = true;
}
しかし、ifsuccess to = trueを取得することはありません...それは明らかかもしれませんが、私はこれまでgoogle script(またはjavascript:P)でプログラミングを行ったことがありません。